]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
ARM Platforms: Don't build BL1 and BL2 if RESET_TO_SP_MIN=1
authorSoby Mathew <soby.mathew@arm.com>
Tue, 20 Feb 2018 14:48:50 +0000 (14:48 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Thu, 22 Feb 2018 15:16:48 +0000 (15:16 +0000)
Change-Id: Iadb21bb56f2e61d7e6aec9b3b3efd30059521def
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
plat/arm/common/sp_min/arm_sp_min.mk

index e6792ca59f60a8ff3e3939b5e70eb98063965653..edab8843c751cb825c3c147fed5c0551d539302c 100644 (file)
@@ -5,6 +5,13 @@
 #
 
 # SP MIN source files common to ARM standard platforms
+
+# Skip building BL1 and BL2 if RESET_TO_SP_MIN flag is set.
+ifeq (${RESET_TO_SP_MIN},1)
+    BL1_SOURCES =
+    BL2_SOURCES =
+endif
+
 BL32_SOURCES           +=      plat/arm/common/arm_pm.c                        \
                                plat/arm/common/arm_topology.c                  \
                                plat/arm/common/sp_min/arm_sp_min_setup.c       \