arm-trusted-firmware/plat
Soby Mathew c099cd3942 ARM platforms: Move BL31 below BL2 to enable BL2 overlay
The patch changes the layout of BL images in memory to enable
more efficient use of available space. Previously BL31 was loaded
with the expectation that BL2 memory would be reclaimed by BL32
loaded in SRAM. But with increasing memory requirements in the
firmware, we can no longer fit BL32 in SRAM anymore which means the
BL2 memory is not reclaimed by any runtime image. Positioning BL2
below BL1-RW and above BL31 means that the BL31 NOBITS can be
overlaid on BL2 and BL1-RW.

This patch also propogates the same memory layout to BL32 for AArch32
mode. The reset addresses for the following configurations are also
changed :
   * When RESET_TO_SP_MIN=1 for BL32 in AArch32 mode
   * When BL2_AT_EL3=1 for BL2

The restriction on BL31 to be only in DRAM when SPM is enabled
is now removed with this change. The update to the firmware design
guide for the BL memory layout is done in the following patch.

Change-Id: Icca438e257abe3e4f5a8215f945b9c3f9fbf29c9
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
2018-06-07 12:26:19 +01:00
..
arm ARM platforms: Move BL31 below BL2 to enable BL2 overlay 2018-06-07 12:26:19 +01:00
common Fix build error with correct format string 2018-05-15 17:05:36 +01:00
compat Do not enable SVE on pre-v8.2 platforms 2017-11-30 17:45:23 +00:00
hisilicon Merge pull request #1361 from vchong/tool_add_img 2018-05-01 17:12:51 +01:00
layerscape layerscape: fix integer handling issues 2018-04-11 12:12:24 +00:00
mediatek Fix pointer type mismatch of handlers 2018-04-27 18:35:02 +09:00
nvidia/tegra types: use int-ll64 for both aarch32 and aarch64 2018-04-27 18:35:02 +09:00
qemu Merge pull request #1334 from michpappas/tf-issues#572_qemu_dont_use_C_for_crash_console 2018-04-03 11:59:55 +01:00
rockchip rockchip/rk3399: Add watchdog support in pmusram 2018-05-15 16:31:19 +08:00
rpi3 Merge pull request #1313 from jonathanwright-ARM/jw/MISRA-switch-statements 2018-03-29 13:20:05 +01:00
socionext/uniphier plat: fix switch statements to comply with MISRA rules 2018-03-26 12:43:05 +01:00
xilinx/zynqmp zynqmp: Add wdt timeout restart functionality 2018-05-17 15:19:26 +05:30