git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10f3bdd
)
Beagleboard: Correct memory size on rev C4
author
robertcnelson@gmail.com
<robertcnelson@gmail.com>
Fri, 27 Jan 2012 07:09:42 +0000
(07:09 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:23 +0000
(10:11 +0100)
The logic for the rev C4 boards was missing one of the cases
(variant with Micron NAND and 2x128MB).
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
board/ti/beagle/beagle.c
patch
|
blob
|
history
diff --git
a/board/ti/beagle/beagle.c
b/board/ti/beagle/beagle.c
index
5c04b34
..
2cca6da
100644
(file)
--- a/
board/ti/beagle/beagle.c
+++ b/
board/ti/beagle/beagle.c
@@
-166,6
+166,13
@@
void get_board_mem_timings(u32 *mcfg, u32 *ctrla, u32 *ctrlb, u32 *rfr_ctrl,
*ctrlb = NUMONYX_V_ACTIMB_165;
*rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_165MHz;
break;
+ } else if (pop_mfr == NAND_MFR_MICRON && pop_id == 0xba) {
+ /* Beagleboard Rev C4, 512MB Nand/256MB DDR*/
+ *mcfg = MICRON_V_MCFG_165(128 << 20);
+ *ctrla = MICRON_V_ACTIMA_165;
+ *ctrlb = MICRON_V_ACTIMB_165;
+ *rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_165MHz;
+ break;
} else if (pop_mfr == NAND_MFR_MICRON && pop_id == 0xbc) {
/* Beagleboard Rev C5, 256MB DDR */
*mcfg = MICRON_V_MCFG_200(256 << 20);