[U-Boot] [PATCH 23/31] M28: Enable NAND

Marek Vasut marek.vasut at gmail.com
Thu Sep 8 22:42:51 CEST 2011


Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
Cc: Scott Wood <scottwood at freescale.com>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Wolfgang Denk <wd at denx.de>
Cc: Detlev Zundel <dzu at denx.de>
---
 include/configs/m28evk.h |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index dee276c..5cf62a2 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -53,6 +53,7 @@
 #define	CONFIG_CMD_I2C
 #define	CONFIG_CMD_MII
 #define	CONFIG_CMD_MMC
+#define	CONFIG_CMD_NAND
 #define	CONFIG_CMD_NET
 #define	CONFIG_CMD_NFS
 #define	CONFIG_CMD_PING
@@ -120,6 +121,18 @@
 #endif
 
 /*
+ * NAND
+ */
+#ifdef	CONFIG_CMD_NAND
+#define	CONFIG_NAND_MXS
+#define CONFIG_APBH_DMA
+#define	CONFIG_SYS_MAX_NAND_DEVICE	1
+#define	CONFIG_SYS_NAND_BASE		0x60000000
+#define	CONFIG_SYS_NAND_5_ADDR_CYCLE
+#define	NAND_MAX_CHIPS			8
+#endif
+
+/*
  * Ethernet on SOC (FEC)
  */
 #ifdef	CONFIG_CMD_NET
-- 
1.7.5.4



More information about the U-Boot mailing list