summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndreas Dannenberg <dannenberg@ti.com>2016-07-20 13:55:59 -0500
committerTom Rini <trini@konsulko.com>2016-07-22 14:46:26 -0400
commit38d592fc33803892298df2d7c60aaab52a55d8fa (patch)
treee2d96f1c599a8ef591c2df99a9fe8f2190ddb8c7 /arch
parent8b76d23ebdc915faf155aafcb2a221b4923ba18a (diff)
downloadu-boot-imx-38d592fc33803892298df2d7c60aaab52a55d8fa.zip
u-boot-imx-38d592fc33803892298df2d7c60aaab52a55d8fa.tar.gz
u-boot-imx-38d592fc33803892298df2d7c60aaab52a55d8fa.tar.bz2
arm: omap5: fix build dependency for secure devices
Commit 17c2987 introduces an undesired dependency on CONFIG_SPL_LOAD_FIT when building U-Boot for AM57xx and DRA7xx 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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/omap5/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap5/config.mk b/arch/arm/cpu/armv7/omap5/config.mk
index d245572..286ca86 100644
--- a/arch/arm/cpu/armv7/omap5/config.mk
+++ b/arch/arm/cpu/armv7/omap5/config.mk
@@ -16,7 +16,7 @@ ALL-y += MLO
endif
else
ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
-ALL-y += u-boot_HS.img
+ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
endif
ALL-y += u-boot.img
endif