[U-Boot-Users] [PATCH 6/6] TQM860M: Support for 10col SDRAMs, max. 128 MiB
Martin Krause
martin.krause at tqs.de
Tue Jul 24 11:19:52 CEST 2007
From: Jens Gehrlein <jens.gehrlein at tqs.de>
Signed-off-by: Jens Gehrlein <jens.gehrlein at tqs.de>
---
include/configs/TQM860M.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/configs/TQM860M.h b/include/configs/TQM860M.h
index 7530f62..0888383 100644
--- a/include/configs/TQM860M.h
+++ b/include/configs/TQM860M.h
@@ -357,7 +357,7 @@
*/
#define SDRAM_BASE2_PRELIM 0x00000000 /* SDRAM bank #0 */
#define SDRAM_BASE3_PRELIM 0x20000000 /* SDRAM bank #1 */
-#define SDRAM_MAX_SIZE 0x04000000 /* max 64 MB per bank */
+#define SDRAM_MAX_SIZE 0x08000000 /* max 128 MB per bank */
/* SDRAM timing: Multiplexed addresses, GPL5 output to GPL5_A (don't care) */
#define CFG_OR_TIMING_SDRAM 0x00000A00
@@ -433,7 +433,10 @@
#define CFG_MAMR_9COL ((CFG_MAMR_PTA << MAMR_PTA_SHIFT) | MAMR_PTAE | \
MAMR_AMA_TYPE_1 | MAMR_DSA_1_CYCL | MAMR_G0CLA_A10 | \
MAMR_RLFA_1X | MAMR_WLFA_1X | MAMR_TLFA_4X)
-
+/* 10 column SDRAM */
+#define CFG_MAMR_10COL ((CFG_MAMR_PTA << MAMR_PTA_SHIFT) | MAMR_PTAE | \
+ MAMR_AMA_TYPE_2 | MAMR_DSA_1_CYCL | MAMR_G0CLA_A9 | \
+ MAMR_RLFA_1X | MAMR_WLFA_1X | MAMR_TLFA_4X)
/*
* Internal Definitions
More information about the U-Boot
mailing list