projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc4xx: Fix missing freqOPB for 405EP
[oweals/u-boot.git]
/
cpu
/
ppc4xx
/
40x_spd_sdram.c
diff --git
a/cpu/ppc4xx/40x_spd_sdram.c
b/cpu/ppc4xx/40x_spd_sdram.c
index b21b13e4936e81c6b4721fba7ccc1eb9e2839e64..75bd70dc66170f5181ee7db1119b90573f42f706 100644
(file)
--- a/
cpu/ppc4xx/40x_spd_sdram.c
+++ b/
cpu/ppc4xx/40x_spd_sdram.c
@@
-52,12
+52,8
@@
/*
* Set default values
*/
/*
* Set default values
*/
-#ifndef CFG_I2C_SPEED
-#define CFG_I2C_SPEED 50000
-#endif
-
-#ifndef CFG_I2C_SLAVE
-#define CFG_I2C_SLAVE 0xFE
+#ifndef CONFIG_SYS_I2C_SPEED
+#define CONFIG_SYS_I2C_SPEED 50000
#endif
#define ONE_BILLION 1000000000
#endif
#define ONE_BILLION 1000000000
@@
-163,7
+159,7
@@
long int spd_sdram(int(read_spd)(uint addr))
* Make sure I2C controller is initialized
* before continuing.
*/
* Make sure I2C controller is initialized
* before continuing.
*/
- i2c_init(C
FG_I2C_SPEED, CFG
_I2C_SLAVE);
+ i2c_init(C
ONFIG_SYS_I2C_SPEED, CONFIG_SYS
_I2C_SLAVE);
}
/* Make shure we are using SDRAM */
}
/* Make shure we are using SDRAM */