summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJiafei Pan <Jiafei.Pan@nxp.com>2022-02-24 10:47:33 +0800
committerJiafei Pan <Jiafei.Pan@nxp.com>2022-03-27 23:24:24 +0800
commit96a8ed14b74cca33a8caf567d0f0a2d3b2483a3b (patch)
tree64d2a54478598d5a645f3fd140a06e35fc76e2c2 /Makefile
parentceae374357b85b4953f8462512412e2f4f1c3d76 (diff)
downloadarm-trusted-firmware-96a8ed14b74cca33a8caf567d0f0a2d3b2483a3b.tar.gz
feat(bl2): add support to separate no-loadable sections
Add new options SEPARATE_BL2_NOLOAD_REGION to separate no-loadable sections (.bss, stack, page tables) to a ram region specified by BL2_NOLOAD_START and BL2_NOLOAD_LIMIT. Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: I844ee0fc405474af0aff978d292c826fbe0a82fd
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fb50f0c50..95c9075ee 100644
--- a/Makefile
+++ b/Makefile
@@ -1021,6 +1021,7 @@ $(eval $(call assert_booleans,\
RESET_TO_BL31 \
SAVE_KEYS \
SEPARATE_CODE_AND_RODATA \
+ SEPARATE_BL2_NOLOAD_REGION \
SEPARATE_NOBITS_REGION \
SPIN_ON_BL1_EXIT \
SPM_MM \
@@ -1136,6 +1137,7 @@ $(eval $(call add_defines,\
RAS_EXTENSION \
RESET_TO_BL31 \
SEPARATE_CODE_AND_RODATA \
+ SEPARATE_BL2_NOLOAD_REGION \
SEPARATE_NOBITS_REGION \
RECLAIM_INIT_CODE \
SPD_${SPD} \