projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i2c, ppc4xx_i2c: switch to new multibus/multiadapter support
[platform/kernel/u-boot.git]
/
arch
/
powerpc
/
cpu
/
ppc4xx
/
44x_spd_ddr.c
diff --git
a/arch/powerpc/cpu/ppc4xx/44x_spd_ddr.c
b/arch/powerpc/cpu/ppc4xx/44x_spd_ddr.c
index
161d274
..
9c566c1
100644
(file)
--- a/
arch/powerpc/cpu/ppc4xx/44x_spd_ddr.c
+++ b/
arch/powerpc/cpu/ppc4xx/44x_spd_ddr.c
@@
-62,10
+62,6
@@
/*
* Set default values
*/
/*
* Set default values
*/
-#ifndef CONFIG_SYS_I2C_SPEED
-#define CONFIG_SYS_I2C_SPEED 50000
-#endif
-
#define ONE_BILLION 1000000000
/*
#define ONE_BILLION 1000000000
/*
@@
-168,7
+164,7
@@
long int spd_sdram(void) {
* Make sure I2C controller is initialized
* before continuing.
*/
* Make sure I2C controller is initialized
* before continuing.
*/
- i2c_
init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE
);
+ i2c_
set_bus_num(CONFIG_SYS_SPD_BUS_NUM
);
/*
* Read the SPD information using I2C interface. Check to see if the
/*
* Read the SPD information using I2C interface. Check to see if the