• Daniel Boulby's avatar
    FVP: Reclaim init code for the stack · cb4adb0d
    Daniel Boulby authored
    
    
    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: default avatarDaniel Boulby <daniel.boulby@arm.com>
    cb4adb0d
plat_arm.h 9.52 KB