summaryrefslogtreecommitdiff
path: root/include/configs/mx35_3stack.h
diff options
context:
space:
mode:
authorFred Fan <r01011@freescale.com>2009-02-23 13:40:12 +0800
committerFred Fan <r01011@freescale.com>2009-09-09 17:15:27 +0800
commit4bdaaba26f5d015474dbd5a524355b5e64655ebe (patch)
treef2c70252b73a9060d6458212565ee3e0e6ab3e61 /include/configs/mx35_3stack.h
parentd409f3fd05bef817c37bade4b6a803da80dc7ad0 (diff)
downloadu-boot-imx-4bdaaba26f5d015474dbd5a524355b5e64655ebe.zip
u-boot-imx-4bdaaba26f5d015474dbd5a524355b5e64655ebe.tar.gz
u-boot-imx-4bdaaba26f5d015474dbd5a524355b5e64655ebe.tar.bz2
ENGR00099697 Add nand driver for mx35
Add nand driver for mx35 Signed-off-by:Jason Liu <r64343@freescale.com>
Diffstat (limited to 'include/configs/mx35_3stack.h')
-rw-r--r--include/configs/mx35_3stack.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/configs/mx35_3stack.h b/include/configs/mx35_3stack.h
index 96fef22..39be55c 100644
--- a/include/configs/mx35_3stack.h
+++ b/include/configs/mx35_3stack.h
@@ -54,7 +54,7 @@
/*
* Size of malloc() pool
*/
-#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128 * 1024)
+#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 512 * 1024)
#define CONFIG_SYS_GBL_DATA_SIZE 128/* size in bytes reserved for initial data */
/*
@@ -82,6 +82,9 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
+/*#define CONFIG_CMD_SPI*/
+/*#define CONFIG_CMD_DATE*/
+#define CONFIG_CMD_NAND
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
@@ -209,6 +212,12 @@
#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1/* Use buffered writes (~10x faster) */
#define CONFIG_SYS_FLASH_PROTECTION 1/* Use hardware sector protection */
+/*-----------------------------------------------------------------------
+ * NAND FLASH driver setup
+ */
+#define NAND_MAX_CHIPS 1
+#define CFG_MAX_NAND_DEVICE 1
+#define CFG_NAND_BASE 0x40000000
/*
* JFFS2 partitions
*/