public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ash Charles <ashcharles@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 6/6] overo: Override RAM setup for rev. 0 boards
Date: Tue, 28 Apr 2015 16:17:55 -0700	[thread overview]
Message-ID: <1430263075-27682-7-git-send-email-ashcharles@gmail.com> (raw)
In-Reply-To: <1430263075-27682-1-git-send-email-ashcharles@gmail.com>

From: Arun Bharadwaj <arun@gumstix.com>

Overo boards with board revision 0 use a 256MB RAM + 256MB NAND chip.
For an unknown reason, these boards fail to boot a 3.17.8 kernel based
on the RAM size configuration in u-boot.  As a workaround, fake out the
RAM setting in u-boot (discussion [1]).

[1] http://gumstix.8.x6.nabble.com/running-built-images-tt4969794.html

Signed-off-by: Arun Bharadwaj <arun@gumstix.com>
Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 board/overo/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/overo/spl.c b/board/overo/spl.c
index 64c33d6..e1652c3 100644
--- a/board/overo/spl.c
+++ b/board/overo/spl.c
@@ -59,7 +59,7 @@ void get_board_mem_timings(struct board_sdrc_timings *timings)
         timings->mr = MICRON_V_MR_165;
         switch (get_board_revision()) {
         case REVISION_0: /* Micron 1286MB/256MB, 1/2 banks of 128MB */
-                timings->mcfg = MICRON_V_MCFG_165(128 << 20);
+                timings->mcfg = MICRON_V_MCFG_165(256 << 20);
                 timings->ctrla = MICRON_V_ACTIMA_165;
                 timings->ctrlb = MICRON_V_ACTIMB_165;
                 timings->rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_165MHz;
-- 
2.1.4

  parent reply	other threads:[~2015-04-28 23:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 23:17 [U-Boot] [PATCH 0/6] omap3: overo: collected fixes Ash Charles
2015-04-28 23:17 ` [U-Boot] [PATCH 1/6] omap3: overo: Set the Arbor43C 'expansionname' Ash Charles
2015-05-10 14:09   ` [U-Boot] [U-Boot, " Tom Rini
2015-04-28 23:17 ` [U-Boot] [PATCH 2/6] omap3: overo: Add DTS support for TobiDuo expansion Ash Charles
2015-05-10 14:09   ` [U-Boot] [U-Boot, " Tom Rini
2015-04-28 23:17 ` [U-Boot] [PATCH 3/6] overo: Add support for Palo35 expansion board Ash Charles
2015-05-10 14:09   ` [U-Boot] [U-Boot, " Tom Rini
2015-04-28 23:17 ` [U-Boot] [PATCH 4/6] omap3: overo: Use software BCH8 ECC for NAND Ash Charles
2015-05-10 14:09   ` [U-Boot] [U-Boot, " Tom Rini
2015-04-28 23:17 ` [U-Boot] [PATCH 5/6] omap3: overo: Allow boot with kernel in UBI rootfs Ash Charles
2015-05-10 14:09   ` [U-Boot] [U-Boot, " Tom Rini
2015-04-28 23:17 ` Ash Charles [this message]
2015-05-10 14:07   ` [U-Boot] [U-Boot, 6/6] overo: Override RAM setup for rev. 0 boards Tom Rini
2015-05-11 15:23     ` Ash Charles

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=1430263075-27682-7-git-send-email-ashcharles@gmail.com \
    --to=ashcharles@gmail.com \
    --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