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, omap24xx: convert driver to new mutlibus/mutliadapter framework
[platform/kernel/u-boot.git]
/
board
/
siemens
/
common
/
board.c
diff --git
a/board/siemens/common/board.c
b/board/siemens/common/board.c
index
6279c32
..
32d2ee4
100644
(file)
--- a/
board/siemens/common/board.c
+++ b/
board/siemens/common/board.c
@@
-42,7
+42,7
@@
void set_mux_conf_regs(void)
{
/* Initalize the board header */
enable_i2c0_pin_mux();
{
/* Initalize the board header */
enable_i2c0_pin_mux();
- i2c_
init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE
);
+ i2c_
set_bus_num(0
);
if (read_eeprom() < 0)
puts("Could not get board ID.\n");
if (read_eeprom() < 0)
puts("Could not get board ID.\n");
@@
-67,7
+67,7
@@
int board_init(void)
#if defined(CONFIG_HW_WATCHDOG)
hw_watchdog_init();
#endif /* defined(CONFIG_HW_WATCHDOG) */
#if defined(CONFIG_HW_WATCHDOG)
hw_watchdog_init();
#endif /* defined(CONFIG_HW_WATCHDOG) */
- i2c_
init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE
);
+ i2c_
set_bus_num(0
);
if (read_eeprom() < 0)
puts("Could not get board ID.\n");
if (read_eeprom() < 0)
puts("Could not get board ID.\n");