aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Dykes <mardyk01@review.trustedfirmware.org>2020-02-25 17:24:17 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-02-25 17:24:17 +0000
commit020ce8c9f6eb959809468e1d70f9946b2f8faef9 (patch)
treebe604bd77ceb572de781ed2d28fe7aa815406965 /Makefile
parent3546afffa6d7dd595be3d4fd6ff4100bfb637854 (diff)
parent60e8f3cfd5910c59c9a573ce05bd61091336b09a (diff)
downloadtrusted-firmware-a-020ce8c9f6eb959809468e1d70f9946b2f8faef9.tar.gz
Merge "Read-only xlat tables for BL31 memory" into integration
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 11b0753c41..39e8a0046f 100644
--- a/Makefile
+++ b/Makefile
@@ -621,6 +621,12 @@ ifeq ($(MEASURED_BOOT),1)
endif
endif
+ifeq (${ARM_XLAT_TABLES_LIB_V1}, 1)
+ ifeq (${ALLOW_RO_XLAT_TABLES}, 1)
+ $(error "ALLOW_RO_XLAT_TABLES requires translation tables library v2")
+ endif
+endif
+
################################################################################
# Process platform overrideable behaviour
################################################################################
@@ -748,6 +754,7 @@ endif
# Build options checks
################################################################################
+$(eval $(call assert_boolean,ALLOW_RO_XLAT_TABLES))
$(eval $(call assert_boolean,COLD_BOOT_SINGLE_CPU))
$(eval $(call assert_boolean,CREATE_KEYS))
$(eval $(call assert_boolean,CTX_INCLUDE_AARCH32_REGS))
@@ -815,6 +822,7 @@ endif
# platform to overwrite the default options
################################################################################
+$(eval $(call add_define,ALLOW_RO_XLAT_TABLES))
$(eval $(call add_define,ARM_ARCH_MAJOR))
$(eval $(call add_define,ARM_ARCH_MINOR))
$(eval $(call add_define,COLD_BOOT_SINGLE_CPU))