summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorSergei Poselenov <sposelenov@emcraft.com>2008-06-06 15:42:44 +0200
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-06-11 00:30:29 -0500
commitfd51b0e0e620b8bc9fd4f6daa3a4fa6f5e1316f4 (patch)
tree64efb37c1d63aae5971a631e8d342f1cc0bae854 /include/configs
parent248ae5cfc8bf69074d1da099dc495d8e06070547 (diff)
Socrates: NAND support added. Changed the U-Boot base address and
Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/socrates.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index 499f41ceb1..16274137dc 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -165,7 +165,7 @@
#define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
#define CFG_MONITOR_LEN (256 * 1024) /* Reserve 256kB for Mon*/
-#define CFG_MALLOC_LEN (128 * 1024) /* Reserved for malloc */
+#define CFG_MALLOC_LEN (256 * 1024) /* Reserved for malloc */
/* Serial Port */
@@ -413,4 +413,10 @@
#define CFG_FPGA_BASE 0xc0000000
#define CFG_BR3_PRELIM 0xc0001881 /* UPMA, 32-bit */
#define CFG_OR3_PRELIM 0xfff00000 /* 1 MB */
+
+#define CFG_NAND_BASE (CFG_FPGA_BASE + 0x70)
+#define CFG_MAX_NAND_DEVICE 1
+#define NAND_MAX_CHIPS 1
+#define CONFIG_CMD_NAND
+
#endif /* __CONFIG_H */