arm: Introduce ARCH_OMAP2
[platform/kernel/u-boot.git] / arch / arm / cpu / armv7 / omap5 / config.mk
index ef2725a..286ca86 100644 (file)
@@ -6,8 +6,17 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+include  $(srctree)/$(CPUDIR)/omap-common/config_secure.mk
+
 ifdef CONFIG_SPL_BUILD
+ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
+ALL-y  += u-boot-spl_HS_MLO u-boot-spl_HS_X-LOADER
+else
 ALL-y  += MLO
+endif
 else
+ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
+ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
+endif
 ALL-y  += u-boot.img
 endif