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: Ibbc8c9499a32e63fd0957a6e254608fbf6fa90c9
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
1 parent c367b75 commit 0c1f197aa12ba19046671c4741be03aa54a90866
@Madhukar Pappireddy Madhukar Pappireddy authored on 27 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