summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/armv7/omap3/Makefile')
-rw-r--r--arch/arm/cpu/armv7/omap3/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap3/Makefile b/arch/arm/cpu/armv7/omap3/Makefile
index 6ebfd32..ac597be 100644
--- a/arch/arm/cpu/armv7/omap3/Makefile
+++ b/arch/arm/cpu/armv7/omap3/Makefile
@@ -31,6 +31,9 @@ COBJS += board.o
COBJS += clock.o
COBJS += mem.o
COBJS += sys_info.o
+ifdef CONFIG_SPL_BUILD
+COBJS-$(CONFIG_SPL_OMAP3_ID_NAND) += spl_id_nand.o
+endif
COBJS-$(CONFIG_DRIVER_TI_EMAC) += emac.o
COBJS-$(CONFIG_EMIF4) += emif4.o