mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
Only set ddrioovcr for 8548 rev1.
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
9343dbf85b
commit
1f9a318cea
@ -263,13 +263,14 @@ spd_sdram(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adjust DDR II IO voltage biasing. It just makes it work.
|
* Adjust DDR II IO voltage biasing.
|
||||||
|
* Only 8548 rev 1 needs the fix
|
||||||
*/
|
*/
|
||||||
if (spd.mem_type == SPD_MEMTYPE_DDR2) {
|
if ((SVR_VER(get_svr()) == SVR_8548_E) &&
|
||||||
gur->ddrioovcr = (0
|
(SVR_MJREV(get_svr()) == 1) &&
|
||||||
| 0x80000000 /* Enable */
|
(spd.mem_type == SPD_MEMTYPE_DDR2)) {
|
||||||
| 0x10000000 /* VSEL to 1.8V */
|
gur->ddrioovcr = (0x80000000 /* Enable */
|
||||||
);
|
| 0x10000000);/* VSEL to 1.8V */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user