plat/arm: Save BL2 descriptors to reserved memory.
On ARM platforms, the BL2 memory can be overlaid by BL31/BL32. The memory
descriptors describing the list of executable images are created in BL2
R/W memory, which could be possibly corrupted later on by BL31/BL32 due
to overlay. This patch creates a reserved location in SRAM for these
descriptors and are copied over by BL2 before handing over to next BL
image.

Also this patch increases the PLAT_ARM_MAX_BL2_SIZE for juno when TBBR
is enabled.

Fixes ARM-Software/tf-issues#626

Change-Id: I755735706fa702024b4032f51ed4895b3687377f
Signed-off-by: Sathees Balya <sathees.balya@arm.com>
1 parent a0d8943 commit 5b8d50e40701ebb6a7ba548ccaa96ba879587fb9
@Sathees Balya Sathees Balya authored on 15 Nov 2018
Showing 8 changed files
View
common/desc_image_load.c
View
docs/firmware-design.rst
View
include/common/desc_image_load.h
View
include/plat/arm/common/arm_def.h
View
include/plat/arm/common/plat_arm.h
View
plat/arm/board/juno/include/platform_def.h
View
plat/arm/common/arm_image_load.c
View
plat/arm/css/sgi/sgi_image_load.c