summaryrefslogtreecommitdiffstats
path: root/include/configs/aria.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-06-14 20:58:51 +0200
committerWolfgang Denk <wd@denx.de>2009-07-14 00:02:45 +0200
commita6d6d46a4fef876455e11b45ed699c0fb3bd1ca1 (patch)
tree3b9383bc601639d36e313541b54d210f1a2c9681 /include/configs/aria.h
parent13946925e850db5351982acb691d51716fc754e2 (diff)
downloadu-boot-a6d6d46a4fef876455e11b45ed699c0fb3bd1ca1.tar.gz
u-boot-a6d6d46a4fef876455e11b45ed699c0fb3bd1ca1.tar.xz
u-boot-a6d6d46a4fef876455e11b45ed699c0fb3bd1ca1.zip
aria: enable NAND flash support
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/aria.h')
-rw-r--r--include/configs/aria.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/include/configs/aria.h b/include/configs/aria.h
index 3ae1238b7a..fb374722e5 100644
--- a/include/configs/aria.h
+++ b/include/configs/aria.h
@@ -241,6 +241,28 @@
#undef CONFIG_SYS_FLASH_CHECKSUM
+/*
+ * NAND FLASH support
+ * drivers/mtd/nand/mpc5121_nfc.c (rev 2 silicon only)
+ */
+#define CONFIG_CMD_NAND
+
+#define CONFIG_NAND_MPC5121_NFC
+#define CONFIG_SYS_NAND_BASE 0x40000000
+
+#define CONFIG_SYS_MAX_NAND_DEVICE 1
+#define NAND_MAX_CHIPS CONFIG_SYS_MAX_NAND_DEVICE
+
+#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */
+
+/*
+ * Configuration parameters for MPC5121 NAND driver
+ */
+#define CONFIG_FSL_NFC_WIDTH 1
+#define CONFIG_FSL_NFC_WRITE_SIZE 2048
+#define CONFIG_FSL_NFC_SPARE_SIZE 64
+#define CONFIG_FSL_NFC_CHIPS CONFIG_SYS_MAX_NAND_DEVICE
+
#define CONFIG_SYS_SRAM_BASE 0x30000000
#define CONFIG_SYS_SRAM_SIZE 0x00020000 /* 128 KB */
@@ -285,7 +307,7 @@
#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
#define CONFIG_SYS_MONITOR_BASE TEXT_BASE
-#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
+#define CONFIG_SYS_MONITOR_LEN (384 * 1024)
#ifdef CONFIG_FSL_DIU_FB
#define CONFIG_SYS_MALLOC_LEN (6 * 1024 * 1024)