public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Fix AMCC Sequoia board DDR memory configuration
@ 2009-03-11  8:54 Mikhail Zolotaryov
  0 siblings, 0 replies; only message in thread
From: Mikhail Zolotaryov @ 2009-03-11  8:54 UTC (permalink / raw)
  To: u-boot

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>
---

--- orig_2009.1/board/amcc/sequoia/sdram.c.orig	2009-03-11 10:36:35.000000000 +0200
+++ orig_2009.1/board/amcc/sequoia/sdram.c	2009-03-11 10:37:03.000000000 +0200
@@ -72,7 +72,7 @@
 	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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-11  8:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11  8:54 [U-Boot] [PATCH] Fix AMCC Sequoia board DDR memory configuration Mikhail Zolotaryov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox