- 13 Apr, 2018 2 commits
-
-
Dimitris Papastamos authored
Hikey ddr
-
Dimitris Papastamos authored
Check presence of hardware fix for 2 errata on Cortex A53
-
- 12 Apr, 2018 4 commits
-
-
Jonathan Wright authored
A fix for errata 835769 may be available in revisions r0p2, r0p3 or r0p4 of the Cortex-A53 processor. The presence of the fix is determined by checking bit 7 in the REVIDR register. If the fix is present we report ERRATA_NOT_APPLIES which silences the erroneous 'missing workaround' warning. Change-Id: Ib75b008e755e9ac648554ca9398024fdbea4a91a Signed-off-by:
Jonathan Wright <jonathan.wright@arm.com>
-
Jonathan Wright authored
A fix for errata 843419 may be available in revision r0p4 of the Cortex-A53 processor. The presence of the fix is determined by checking bit 8 in the REVIDR register. If the fix is present we report ERRATA_NOT_APPLIES which silences the erroneous 'missing workaround' warning. Change-Id: Ibd2a478df3e2a6325442a6a48a0bb0259dcfc1d7 Signed-off-by:
Jonathan Wright <jonathan.wright@arm.com>
-
Dimitris Papastamos authored
FVP: Fix function for translating MPIDR to linear index
-
Dimitris Papastamos authored
layerscape: fix integer handling issues
-
- 11 Apr, 2018 5 commits
-
-
Jiafei Pan authored
Assert before actually using. Signed-off-by:
Jiafei Pan <Jiafei.Pan@nxp.com>
-
Haojian Zhuang authored
Clean cache to flush parameters into SRAM before MCU using them. Signed-off-by:
Haojian Zhuang <haojian.zhuang@linaro.org>
-
Haojian Zhuang authored
Store those DDR parameters into SRAM. They may be used by MCU firmware. Signed-off-by:
Haojian Zhuang <haojian.zhuang@linaro.org>
-
Haojian Zhuang authored
Fix that DDR can't work at 533MHz. Now step to set DDR frequency from 150MHz to 800MHz. DDR could work among these frequency, 150MHz, 266MHz, 400MHz, 533MHz and 800MHz. Signed-off-by:
Haojian Zhuang <haojian.zhuang@linaro.org>
-
Dimitris Papastamos authored
support tzmp1
-
- 10 Apr, 2018 8 commits
-
-
Dimitris Papastamos authored
DMC500: Add platform support to set system interface count
-
Dimitris Papastamos authored
Juno: Increase bl2 max size to fix build when SPD=opteed
-
Dimitris Papastamos authored
lib: xlat_tables_v2: reduce time required to add a mmap region
-
Dimitris Papastamos authored
layerscape: Initial ATF support for LS1043ardb
-
Summer Qin authored
Add TZMP1 support on Juno and increase the BL2 size accordingly due to the extra data structures to describe the TZC regions and the additional code. Signed-off-by:
Summer Qin <summer.qin@arm.com>
-
Summer Qin authored
This patch allows the ARM Platforms to specify the TZC regions to be specified to the ARM TZC helpers in arm_tzc400.c and arm_tzc_dmc500.c. If the regions are not specified then the default TZC region will be configured by these helpers. This override mechanism allows specifying special regions for TZMP1 usecase. Signed-off-by:
Summer Qin <summer.qin@arm.com>
-
Jiafei Pan authored
Signed-off-by:
Jiafei Pan <Jiafei.Pan@nxp.com>
-
Jiafei Pan authored
This patch introduce TF-A support for NXP's ls1043a platform. more details information of ls1043a chip and ls1043ardb board can be found at docs/plat/ls1043a.rst. Boot sequence on ls1043a is: bootrom loads bl1 firstly, then bl1 loads bl2, bl2 will load bl31, bl32 and bl33, bl31 will boot bl32(tee os) and bl33(u-boot or uefi), bl33 boot Linux kernel. Now TF-A on ls1043ardb platform has the following features in this patch: * Support boot from Nor flash. * TF-A can boot bl33 which runs in el2 of non-secure world. * TF-A boot OPTee OS. * Support PSCI Signed-off-by:
Jiafei Pan <Jiafei.Pan@nxp.com> Signed-off-by:
Chenyin.Ha <Chenyin.Ha@nxp.com> Signed-off-by:
Chenhui Zhao <chenhui.zhao@nxp.com> Signed-off-by:
jiaheng.fan <jiaheng.fan@nxp.com> Signed-off-by:
Wen He <wen.he_1@nxp.com>
-
- 09 Apr, 2018 5 commits
-
-
Varun Wadekar authored
The last entry in the mapping table is not necessarily the same as the end of the table. This patch loops through the table to find the last entry marker, on every new mmap addition. The memove operation then has to only move the memory between current entry and the last entry. For platforms that arrange their MMIO map properly, this opearation turns out to be a NOP. The previous implementation added significant overhead per mmap addition as the memmove operation always moved the difference between the current mmap entry and the end of the table. Tested on Tegra platforms and this new approach improves the memory mapping time by ~75%, thus significantly reducing boot time on some platforms. Change-Id: Ie3478fa5942379282ef58bee2085da799137e2ca Signed-off-by:
Varun Wadekar <vwadekar@nvidia.com>
-
Dimitris Papastamos authored
Add support for BL2 in XIP memory
-
Amit Daniel Kachhap authored
Building TBBR(SPD=opteed) and non-TBBR TF-A images is breaking for Juno for different configurations listed below: * Overflow error of 4096 bytes for rsa algorithm. * Overflow error of 8192 bytes for ecdsa algorithm. * Overflow error of 4096 bytes for rsa+ecdsa algorithm. * Overflow error of 4096 bytes for non-TBBR case. So this patch increments macro PLAT_ARM_MAX_BL2_SIZE for all the above cases accordingly. Change-Id: I75ec6c0a718181d34553fe55437f0496f467683f Signed-off-by:
Amit Daniel Kachhap <amit.kachhap@arm.com>
-
Amit Daniel Kachhap authored
Some low end platforms using DMC500 memory controller do not have CCI(Cache Coherent Interconnect) interface and only have non-coherent system interface support. Hence this patch makes the system interface count configurable from the platforms. Change-Id: I6d54c90eb72fd18026c6470c1f7fd26c59dc4b9a Signed-off-by:
Amit Daniel Kachhap <amit.kachhap@arm.com>
-
Dimitris Papastamos authored
Fixup SMCCC_FEATURES return value for SMCCC_ARCH_WORKAROUND_1
-
- 07 Apr, 2018 2 commits
-
-
Jiafei Pan authored
For the adr instruction, it require the label's offset from the address of this instruction must be in the range +/-1MB. If the option "BL2_IN_XIP_MEM" is set to '1', in some cases, BL2's RW memory will not in the range of +/-1MB from BL2's RO memory region. so we need to use ldr instruction to cover this case. Signed-off-by:
Jiafei Pan <Jiafei.Pan@nxp.com>
-
Jiafei Pan authored
In some use-cases BL2 will be stored in eXecute In Place (XIP) memory, like BL1. In these use-cases, it is necessary to initialize the RW sections in RAM, while leaving the RO sections in place. This patch enable this use-case with a new build option, BL2_IN_XIP_MEM. For now, this option is only supported when BL2_AT_EL3 is 1. Signed-off-by:
Jiafei Pan <Jiafei.Pan@nxp.com>
-
- 06 Apr, 2018 1 commit
-
-
David Cunado authored
The current AArch32 version of plat_arm_calc_core_pos uses an incorrect algorithm to calculate the linear position of a core / PE from its MPIDR. This patch corrects the algorithm to: (ClusterId * FVP_MAX_CPUS_PER_CLUSTER) * FVP_MAX_PE_PER_CPU + (CPUId * FVP_MAX_PE_PER_CPU) + ThreadId which supports cores where there are more than 1 PE per CPU. NOTE: the AArch64 version was fixed in 39b21d19 Change-Id: I72aea89d8f72f8b1fef54e2177a0fa6fef0f5513 Signed-off-by:
David Cunado <david.cunado@arm.com>
-
- 04 Apr, 2018 1 commit
-
-
Dimitris Papastamos authored
SPM: Assert value of `ENABLE_SPM` build flag
-
- 03 Apr, 2018 3 commits
-
-
Dimitris Papastamos authored
Only return -1 if the workaround for CVE-2017-5715 is not compiled in. Change-Id: I1bd07c57d22b4a13cf51b35be141a1f1ffb065ff Signed-off-by:
Dimitris Papastamos <dimitris.papastamos@arm.com>
-
Dimitris Papastamos authored
qemu: don't use C functions for the crash console callbacks
-
Antonio Nino Diaz authored
The Makefile was missing a check to verify that the value of `ENABLE_SPM` is boolean. Change-Id: I97222e4df9ae2fbd89cdb3263956dca52d360993 Signed-off-by:
Antonio Nino Diaz <antonio.ninodiaz@arm.com>
-
- 31 Mar, 2018 1 commit
-
-
Michalis Pappas authored
Use the console_pl011_core_* functions directly in the crash console callbacks. This bypasses the MULTI_CONSOLE_API for the crash console (UART1), but allows using the crash console before the C runtime has been initialized (eg to call ASM_ASSERT). This retains backwards compatibility with respect to functionality when the old API is used. Use the MULTI_CONSOLE_API to register UART0 as the boot and runtime console. Fixes ARM-software/tf-issues#572 Signed-off-by:
Michalis Pappas <mpappas@fastmail.fm>
-
- 29 Mar, 2018 8 commits
-
-
Dimitris Papastamos authored
ARM platforms: Add support for SGI575
-
Dimitris Papastamos authored
Fix switch statements to comply with MISRA rules
-
Dimitris Papastamos authored
GIC: Fix interrupt setting interrupt configuration
-
Dimitris Papastamos authored
qemu: Add support for stack canary protection
-
Dimitris Papastamos authored
hikey960: add delay before reset
-
Dimitris Papastamos authored
rpi3: Migrate to the multi console API
-
Dimitris Papastamos authored
Clean usage of void pointers to access symbols
-
Dimitris Papastamos authored
psci: initialize array fully to comply with MISRA
-