]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/armv7/omap5/config.mk
arm: omap5: add U-Boot FIT signing and SPL image post-processing
[people/ms/u-boot.git] / arch / arm / cpu / armv7 / omap5 / config.mk
index 2673af96681aa62ddb3fc774a09465b6ca88357c..d245572ef04344113bc9a910e3586828d235e167 100644 (file)
@@ -6,8 +6,17 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+include  $(srctree)/$(CPUDIR)/omap-common/config_secure.mk
+
 ifdef CONFIG_SPL_BUILD
-ALL-y  += $(OBJTREE)/MLO
+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
-ALL-y  += $(obj)u-boot.img
+ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
+ALL-y   += u-boot_HS.img
+endif
+ALL-y  += u-boot.img
 endif