]> git.sur5r.net Git - u-boot/blobdiff - drivers/i2c/soft_i2c.c
GCC4.6: Use debug() instead of debugX() in s3c24xx_nand.c
[u-boot] / drivers / i2c / soft_i2c.c
index 69b5f42205f427255344ad55913896d426774464..36c6114e3cc9e307174883e920352503d04d1948 100644 (file)
@@ -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