[U-Boot] [PATCH] Fix SPL build for non-ARM targets

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Jan 8 23:57:20 CET 2013


Signed-off-by: Albert ARIBAUD <albert.u.boot at aribaud.net>
---
 drivers/mtd/nand/Makefile |    4 ++++
 1 file changed, 4 insertions(+)

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
 
-- 
1.7.10.4



More information about the U-Boot mailing list