Add support for 8641 Rev 2 silicon.
PATCH 1/1 Add support for 8641 Rev 2 silicon.
From: Ed Swarthout <[email protected]>
Without this patch, I am unable to get to the prompt on rev 2 silicon. Only set ddrioovcr for rev1.
Signed-off-by Ed Swarthout<[email protected]>
Signed-off-by Jon Loeliger <[email protected]>
--- cpu/mpc86xx/spd_sdram.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
cpu/mpc86xx/spd_sdram.c +2 -2
@@ -284,9 +284,9 @@ #endif }/* -* Adjust DDR II IO voltage biasing. It just makes it work. +* Adjust DDR II IO voltage biasing. Rev1 only */ -if (spd.mem_type ==SPD_MEMTYPE_DDR2 ) { +if (((get_svr () &0xf0 ) ==0x10 ) && (spd.mem_type ==SPD_MEMTYPE_DDR2 )) { gur->ddrioovcr = (0 |0x80000000 /* Enable */ | 0x10000000 /* VSEL to 1.8V */
Signature · 1 line
1.4.2.3