summaryrefslogtreecommitdiff
path: root/cpu/mpc86xx/spd_sdram.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-03-29 12:16:41 +0200
committerWolfgang Denk <wd@denx.de>2007-03-29 12:16:41 +0200
commit6db7d0af2336c126e4d4b2f248cc23516bdd46a8 (patch)
tree126f54b515332415f9665d51598500921119c16c /cpu/mpc86xx/spd_sdram.c
parent44ba464b99001f8bd1c456a1e9d59726252f707a (diff)
parent6eb1df835191d8ce4b81d5af40fa8e0fbe78e997 (diff)
downloadu-boot-imx-6db7d0af2336c126e4d4b2f248cc23516bdd46a8.zip
u-boot-imx-6db7d0af2336c126e4d4b2f248cc23516bdd46a8.tar.gz
u-boot-imx-6db7d0af2336c126e4d4b2f248cc23516bdd46a8.tar.bz2
Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx
Diffstat (limited to 'cpu/mpc86xx/spd_sdram.c')
-rw-r--r--cpu/mpc86xx/spd_sdram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc86xx/spd_sdram.c b/cpu/mpc86xx/spd_sdram.c
index b18e822..ac9ff81 100644
--- a/cpu/mpc86xx/spd_sdram.c
+++ b/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 */