Fix SPL build for non-ARM targets
[glsdk/glsdk-u-boot.git] / drivers / mtd / nand / Makefile
index 2c3812c3bab20d3ea762c9f2a61d3ea2107ef984..c77c0c4f0f6eec10c34ce5e3b17d495b6531026f 100644 (file)
@@ -79,6 +79,10 @@ COBJS-$(CONFIG_TEGRA_NAND) += tegra_nand.o
 COBJS-$(CONFIG_NAND_OMAP_GPMC) += omap_gpmc.o
 COBJS-$(CONFIG_NAND_PLAT) += nand_plat.o
 
+else  # minimal SPL drivers
+
+COBJS-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_spl.o
+
 endif # drivers
 endif # nand