]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix AMCC Sequoia board DDR memory configuration
authorMikhail Zolotaryov <lebon@lebon.org.ua>
Wed, 11 Mar 2009 08:54:46 +0000 (10:54 +0200)
committerStefan Roese <sr@denx.de>
Tue, 17 Mar 2009 09:52:36 +0000 (10:52 +0100)
Sequoia board schematics (DES0211_11_SCH_11.pdf, page 5, unit U1D)
specifies that BankSel#1 is not connected, while bootloader memory
configuration is (board/amcc/sequoia/sdram.c):
       mtsdram(DDR0_10, 0x00000300);
i.e. both Chip Selects used - not correct.

If we change to correct value here:
       mtsdram(DDR0_10, 0x00000100);
memory is accessible OK also.

Signed-off-by: Mikhail Zolotaryov <lebon@lebon.org.ua>
Signed-off-by: Stefan Roese <sr@denx.de>
board/amcc/sequoia/sdram.c

index 64eb06308d059710a622554967b7ef80c23e0f4e..c26e6ee2187c9d52a0ee1656d522d0a831893fb2 100644 (file)
@@ -72,7 +72,7 @@ phys_size_t initdram (int board_type)
        mtsdram(DDR0_07, 0x000D0100);
        mtsdram(DDR0_08, 0x02430001);
        mtsdram(DDR0_09, 0x00011D5F);
-       mtsdram(DDR0_10, 0x00000300);
+       mtsdram(DDR0_10, 0x00000100);
        mtsdram(DDR0_11, 0x0027C800);
        mtsdram(DDR0_12, 0x00000003);
        mtsdram(DDR0_14, 0x00000000);