aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2014-06-02 15:49:04 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2014-06-05 17:39:40 +0100
commitde116940dd0a4b7f503a58452e278a14b00fdde9 (patch)
tree4fd4fb922a6d6be54238de7fb1f95d708c63e823
parent5c21e430b62c71acc9a2b74ccf13cc1ea3af8c3f (diff)
downloadtrusted-firmware-a-de116940dd0a4b7f503a58452e278a14b00fdde9.tar.gz
juno: Make the build fail when RESET_TO_BL31 != 0
Enabling BL3-1 entrypoint as the CPU reset vector in place of the BL1 entrypoint is not supported on Juno at the moment. This patch modifies the build system so that the build will crash straight away if the user attempts to use this feature on Juno. Change-Id: I641275fa37c2892fae7b944219b406f945e7e1b4
-rw-r--r--plat/juno/platform.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/plat/juno/platform.mk b/plat/juno/platform.mk
index 14b62b3665..b487ebf96a 100644
--- a/plat/juno/platform.mk
+++ b/plat/juno/platform.mk
@@ -68,3 +68,8 @@ BL31_SOURCES += drivers/arm/cci400/cci400.c \
plat/juno/plat_gic.c \
plat/juno/scpi.c \
plat/juno/smc_arm.c
+
+ifneq (${RESET_TO_BL31},0)
+ $(error "Using BL3-1 as the reset vector is not supported on Juno. \
+ Please set RESET_TO_BL31 to 0.")
+endif