From ee86fd15e1ccda4be41f1dba82b8c9efea9a3145 Mon Sep 17 00:00:00 2001 From: Mikhail Zolotaryov Date: Wed, 11 Mar 2009 10:54:46 +0200 Subject: 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 --- board/amcc/sequoia/sdram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/amcc/sequoia/sdram.c b/board/amcc/sequoia/sdram.c index 64eb063..c26e6ee 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); -- cgit v1.1