plat/arm: Skip BL2U if RESET_TO_SP_MIN flag is set
authorLouis Mayencourt <louis.mayencourt@arm.com>
Tue, 11 Jun 2019 09:51:34 +0000 (10:51 +0100)
committerLouis Mayencourt <louis.mayencourt@arm.com>
Tue, 11 Jun 2019 10:42:07 +0000 (11:42 +0100)
BL2U should not build when RESET_TO_SP_MIN flag is set, like BL1 and
BL2.

Change-Id: Iac516121f98611ca1f58d2b5efdec6525b06ce4e
Signed-off-by: Louis Mayencourt <louis.mayencourt@arm.com>
plat/arm/common/sp_min/arm_sp_min.mk

index edab8843c751cb825c3c147fed5c0551d539302c..dbd451ce6e27e8051e56c81bdc740adaed4ae157 100644 (file)
@@ -1,15 +1,16 @@
 #
-# Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
 
 # SP MIN source files common to ARM standard platforms
 
-# Skip building BL1 and BL2 if RESET_TO_SP_MIN flag is set.
+# Skip building BL1, BL2 and BL2U if RESET_TO_SP_MIN flag is set.
 ifeq (${RESET_TO_SP_MIN},1)
     BL1_SOURCES =
     BL2_SOURCES =
+    BL2U_SOURCES =
 endif
 
 BL32_SOURCES           +=      plat/arm/common/arm_pm.c                        \
@@ -17,4 +18,3 @@ BL32_SOURCES          +=      plat/arm/common/arm_pm.c                        \
                                plat/arm/common/sp_min/arm_sp_min_setup.c       \
                                plat/common/aarch32/platform_mp_stack.S         \
                                plat/common/plat_psci_common.c
-