[U-Boot] [PATCH 6/6] overo: Override RAM setup for rev. 0 boards
Ash Charles
ashcharles at gmail.com
Wed Apr 29 01:17:55 CEST 2015
From: Arun Bharadwaj <arun at 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 at gumstix.com>
Signed-off-by: Ash Charles <ashcharles at 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
More information about the U-Boot
mailing list