Improve SDRAM setup for TRAB board

This commit is contained in:
dzu 2003-09-30 15:22:12 +00:00
parent 88a1bfa8b8
commit bb65a31267
2 changed files with 6 additions and 4 deletions

View File

@ -2,6 +2,8 @@
Changes for U-Boot 1.0.0: Changes for U-Boot 1.0.0:
====================================================================== ======================================================================
* Improve SDRAM setup for TRAB board
* Suppress all output with splashscreen configured only if "splashimage" * Suppress all output with splashscreen configured only if "splashimage"
is set is set

View File

@ -104,12 +104,12 @@
#ifndef CONFIG_RAM_16MB /* 32 MB RAM */ #ifndef CONFIG_RAM_16MB /* 32 MB RAM */
/* Bank6 */ /* Bank6 */
#define B6_MT 0x3 /* SDRAM */ #define B6_MT 0x3 /* SDRAM */
#define B6_Trcd 0x1 /* 3clk */ #define B6_Trcd 0x0 /* 2clk */
#define B6_SCAN 0x1 /* 9 bit */ #define B6_SCAN 0x1 /* 9 bit */
/* Bank7 */ /* Bank7 */
#define B7_MT 0x3 /* SDRAM */ #define B7_MT 0x3 /* SDRAM */
#define B7_Trcd 0x1 /* 3clk */ #define B7_Trcd 0x0 /* 2clk */
#define B7_SCAN 0x1 /* 9 bit */ #define B7_SCAN 0x1 /* 9 bit */
#else /* CONFIG_RAM_16MB = 16 MB RAM */ #else /* CONFIG_RAM_16MB = 16 MB RAM */
/* Bank6 */ /* Bank6 */
@ -178,5 +178,5 @@ SMRDATA:
#else /* CONFIG_RAM_16MB = 16 MB RAM */ #else /* CONFIG_RAM_16MB = 16 MB RAM */
.word 0x17 /* BUSWIDTH=32, SCLK power saving mode, BANKSIZE 16M/16M */ .word 0x17 /* BUSWIDTH=32, SCLK power saving mode, BANKSIZE 16M/16M */
#endif /* CONFIG_RAM_16MB */ #endif /* CONFIG_RAM_16MB */
.word 0x30 /* MRSR6, CL=3clk */ .word 0x20 /* MRSR6, CL=2clk */
.word 0x30 /* MRSR7 */ .word 0x20 /* MRSR7 */