]> git.sur5r.net Git - u-boot/blobdiff - common/stdio.c
Merge git://git.denx.de/u-boot-usb
[u-boot] / common / stdio.c
index 4d300175301877c1aeeb438fc67ccb3389fedceb..ee4f0bda9ea72f69efbefcaa3849a3f5b8f422ca 100644 (file)
@@ -21,7 +21,7 @@
 #include <logbuff.h>
 #endif
 
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C)
+#if defined(CONFIG_SYS_I2C)
 #include <i2c.h>
 #endif
 
@@ -346,9 +346,6 @@ int stdio_add_devices(void)
 #ifdef CONFIG_SYS_I2C
        i2c_init_all();
 #else
-#if defined(CONFIG_HARD_I2C)
-       i2c_init (CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
-#endif
 #endif
 #ifdef CONFIG_DM_VIDEO
        /*