]> git.sur5r.net Git - u-boot/commitdiff
TQM860M: Support for 10col SDRAMs, max. 128 MiB
authorJens Gehrlein <jens.gehrlein@tqs.de>
Thu, 27 Sep 2007 12:54:46 +0000 (14:54 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Dec 2007 00:59:17 +0000 (01:59 +0100)
Signed-off-by: Martin Krause <martin.krause@tqs.de>
include/configs/TQM860M.h

index fe3a2f020c0dcc8a2d84b47698c44d4058920b7d..44ad53e6f42b1b9f18926da7b55f5e8edd46e4b5 100644 (file)
  */
 #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
 #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