plat/arm: Add support for SEPARATE_NOBITS_REGION
In order to support SEPARATE_NOBITS_REGION for Arm platforms, we need to load
BL31 PROGBITS into secure DRAM space and BL31 NOBITS into SRAM. Hence mandate
the build to require that ARM_BL31_IN_DRAM is enabled as well.

Naturally with SEPARATE_NOBITS_REGION enabled, the BL31 initialization code
cannot be reclaimed to be used for runtime data such as secondary cpu stacks.

Memory map for BL31 NOBITS region also has to be created.

Change-Id: Ibd480f82c1dc74e9cbb54eec07d7a8fecbf25433
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
1 parent 76d84cb commit d433bbdd459c222e5bf5ca87319807465b246d8c
@Madhukar Pappireddy Madhukar Pappireddy authored on 16 Jan 2020
Showing 3 changed files
View
include/plat/arm/common/arm_def.h
View
plat/arm/common/arm_bl31_setup.c
View
plat/arm/common/arm_common.mk