public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mikhail Zolotaryov <lebon@lebon.org.ua>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Fix AMCC Sequoia board DDR memory configuration
Date: Wed, 11 Mar 2009 10:54:46 +0200	[thread overview]
Message-ID: <49B77C56.5080207@lebon.org.ua> (raw)

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

                 reply	other threads:[~2009-03-11  8:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49B77C56.5080207@lebon.org.ua \
    --to=lebon@lebon.org.ua \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox