summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Dannenberg <dannenberg@ti.com>2016-07-20 13:55:58 -0500
committerTom Rini <trini@konsulko.com>2016-07-22 14:46:26 -0400
commit8b76d23ebdc915faf155aafcb2a221b4923ba18a (patch)
treecc33dccbb359fd79668e3ebe80a29f312d68ae8c
parent90211f772b674d463f6622fb9982329cf4d6ec37 (diff)
downloadu-boot-imx-8b76d23ebdc915faf155aafcb2a221b4923ba18a.zip
u-boot-imx-8b76d23ebdc915faf155aafcb2a221b4923ba18a.tar.gz
u-boot-imx-8b76d23ebdc915faf155aafcb2a221b4923ba18a.tar.bz2
arm: am4x: fix build dependency for secure devices
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>
-rw-r--r--arch/arm/cpu/armv7/am33xx/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/config.mk b/arch/arm/cpu/armv7/am33xx/config.mk
index ab94708..d4eb21c 100644
--- a/arch/arm/cpu/armv7/am33xx/config.mk
+++ b/arch/arm/cpu/armv7/am33xx/config.mk
@@ -26,7 +26,7 @@ endif
else
ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
-ALL-y += u-boot_HS.img
+ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
endif
ALL-y += u-boot.img
endif