From: Mikhail Zolotaryov Date: Wed, 11 Mar 2009 08:54:46 +0000 (+0200) Subject: Fix AMCC Sequoia board DDR memory configuration X-Git-Tag: v2009.03~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ee86fd15e1ccda4be41f1dba82b8c9efea9a3145;p=u-boot Fix AMCC Sequoia board DDR memory configuration 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 Signed-off-by: Stefan Roese --- diff --git a/board/amcc/sequoia/sdram.c b/board/amcc/sequoia/sdram.c index 64eb06308d..c26e6ee218 100644 --- a/board/amcc/sequoia/sdram.c +++ b/board/amcc/sequoia/sdram.c @@ -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);