[U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

Marek Vasut marek.vasut at gmail.com
Tue Dec 6 00:17:26 CET 2011


This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to
identify the chip and configure the controller accordingly.

Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
Cc: Scott Wood <scottwood at freescale.com>
---
 drivers/mtd/nand/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
index a63c0e4..46e79e3 100644
--- a/drivers/mtd/nand/Makefile
+++ b/drivers/mtd/nand/Makefile
@@ -35,10 +35,10 @@ COBJS-y	+= nand_spl_load.o
 endif
 else
 COBJS-y += nand.o
-COBJS-y += nand_bbt.o
-COBJS-y += nand_ids.o
 COBJS-y += nand_util.o
 endif
+COBJS-y += nand_bbt.o
+COBJS-y += nand_ids.o
 COBJS-y += nand_ecc.o
 COBJS-y += nand_base.o
 
-- 
1.7.7.1



More information about the U-Boot mailing list