projects
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[kernel/u-boot.git]
/
arch
/
powerpc
/
cpu
/
ppc4xx
/
cmd_chip_config.c
diff --git
a/arch/powerpc/cpu/ppc4xx/cmd_chip_config.c
b/arch/powerpc/cpu/ppc4xx/cmd_chip_config.c
index
b777d73
..
4e9a40d
100644
(file)
--- a/
arch/powerpc/cpu/ppc4xx/cmd_chip_config.c
+++ b/
arch/powerpc/cpu/ppc4xx/cmd_chip_config.c
@@
-39,7
+39,7
@@
static int do_chip_config(cmd_tbl_t *cmdtp, int flag, int argc, char * const arg
* First switch to correct I2C bus. This is I2C bus 0
* for all currently available 4xx derivats.
*/
* First switch to correct I2C bus. This is I2C bus 0
* for all currently available 4xx derivats.
*/
-
I2C_SET_BUS
(0);
+
i2c_set_bus_num
(0);
#ifdef CONFIG_CMD_EEPROM
ret = eeprom_read(CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR,
#ifdef CONFIG_CMD_EEPROM
ret = eeprom_read(CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR,