Fix SPL build for non-ARM targets
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 8 Jan 2013 22:57:20 +0000 (23:57 +0100)
committerTom Rini <trini@ti.com>
Wed, 9 Jan 2013 13:34:40 +0000 (06:34 -0700)
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
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