summaryrefslogtreecommitdiff
path: root/arch/arm/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/config.mk')
-rw-r--r--arch/arm/config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index c339e6dc8c..f0eafd6307 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -129,7 +129,12 @@ else
ifeq ($(CONFIG_OF_SEPARATE),y)
ALL-y += u-boot-dtb.imx
else
+ifeq ($(CONFIG_IMX_NAND),y)
+# u-boot-nand.imx builds u-boot.imx as well
+ALL-y += u-boot-nand.imx
+else
ALL-y += u-boot.imx
endif
endif
endif
+endif