]> git.sur5r.net Git - u-boot/commitdiff
arm: am4x: fix build dependency for secure devices
authorAndreas Dannenberg <dannenberg@ti.com>
Wed, 20 Jul 2016 18:55:58 +0000 (13:55 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 22 Jul 2016 18:46:26 +0000 (14:46 -0400)
Commit e29878f introduces an undesired dependency on CONFIG_SPL_LOAD_FIT
when building U-Boot for AM43xx high-security (HS) devices that causes the
build to break when that option is not active. Fix this issue by only
building the u-boot_HS.img target when building U-Boot into an actual
FIT image.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/am33xx/config.mk

index ab9470820d521ee854b28dc06fe30c59da1fb96e..d4eb21ca14e19f68cebf9a6a863076af13e8890e 100644 (file)
@@ -26,7 +26,7 @@ endif
 else
 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
 ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
-ALL- += u-boot_HS.img
+ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
 endif
 ALL-y  += u-boot.img
 endif