FVP: Reclaim init code for the stack
Map the initialization code for BL31 to overlap with the memory
required for the secondary cores stack. Once BL31 has been
initialized the memory can be remapped to RW data so that it can
be used for secondary cores stacks. By moving code from .text to
.text.init the size of the BL31 image is decreased by a page.

Split arm_common.ld.S into two linker scripts, one for tzc_dram
(arm_tzc_dram.ld.S) and one for reclaiming initialization code
(arm_reclaim_init.ld.S) so that platforms can chose which memory
regions they wish to include.

Change-Id: I648e88f3eda1aa71765744cf34343ecda9320b32
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
1 parent c9263e6 commit cb4adb0d8c36e6650b8b74d27e8c7417067e8cd5
@Daniel Boulby Daniel Boulby authored on 18 Sep 2018
Antonio Nino Diaz committed on 3 Oct 2018
Showing 10 changed files
View
include/plat/arm/common/arm_common.ld.S 100644 → 0
View
include/plat/arm/common/arm_def.h
View
include/plat/arm/common/arm_reclaim_init.ld.S 0 → 100644
View
include/plat/arm/common/arm_tzc_dram.ld.S 0 → 100644
View
include/plat/arm/common/plat_arm.h
View
plat/arm/board/fvp/include/plat.ld.S
View
plat/arm/board/fvp/platform.mk
View
plat/arm/common/arm_bl31_setup.c
View
plat/arm/common/arm_common.c
View
plat/arm/common/arm_common.mk