projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/i2c/omap24xx_i2c.c: move all local variables to SRAM
[oweals/u-boot.git]
/
drivers
/
i2c
/
soft_i2c.c
diff --git
a/drivers/i2c/soft_i2c.c
b/drivers/i2c/soft_i2c.c
index 69b5f42205f427255344ad55913896d426774464..36c6114e3cc9e307174883e920352503d04d1948 100644
(file)
--- a/
drivers/i2c/soft_i2c.c
+++ b/
drivers/i2c/soft_i2c.c
@@
-119,7
+119,6
@@
DECLARE_GLOBAL_DATA_PTR;
#ifdef DEBUG_I2C
#define PRINTD(fmt,args...) do { \
- if (gd->have_console) \
printf (fmt ,##args); \
} while (0)
#else
@@
-286,6
+285,7
@@
int i2c_set_bus_num(unsigned int bus)
int ret;
ret = i2x_mux_select_mux(bus);
+ i2c_init_board();
if (ret == 0)
i2c_bus_num = bus;
else