Add support for 8641 Rev 2 silicon.

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<ed.swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
master
Ed Swarthout 18 years ago committed by Jon Loeliger
parent aea17f9927
commit 2ccceacc04
  1. 4
      cpu/mpc86xx/spd_sdram.c

@ -284,9 +284,9 @@ spd_init(unsigned char i2c_address, unsigned int ddr_num,
}
/*
* 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 */

Loading…
Cancel
Save