summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-01-08 23:57:20 +0100
committerTom Rini <trini@ti.com>2013-01-09 06:34:40 -0700
commit449485948e6de1869ec39c1559b7b78d85690ea7 (patch)
tree37e32e695d84a1e2b7b282eae0f87dc43e1e8a22
parent91c038f087d7f643c85609897af3710d5f8b42a9 (diff)
downloadu-boot-imx-449485948e6de1869ec39c1559b7b78d85690ea7.zip
u-boot-imx-449485948e6de1869ec39c1559b7b78d85690ea7.tar.gz
u-boot-imx-449485948e6de1869ec39c1559b7b78d85690ea7.tar.bz2
Fix SPL build for non-ARM targets
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
-rw-r--r--drivers/mtd/nand/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
index 2c3812c..c77c0c4 100644
--- a/drivers/mtd/nand/Makefile
+++ b/drivers/mtd/nand/Makefile
@@ -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