]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/armv7/omap-common/clocks-common.c
i2c, omap24xx: convert driver to new mutlibus/mutliadapter framework
[u-boot] / arch / arm / cpu / armv7 / omap-common / clocks-common.c
index bb77b5ca3e9af876f8e6f70e412a3b831dadc3c7..dfa3760dfc59b3da88f26868d7e81418a887e5fc 100644 (file)
@@ -779,7 +779,8 @@ void gpi2c_init(void)
        static int gpi2c = 1;
 
        if (gpi2c) {
-               i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
+               i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED,
+                        CONFIG_SYS_OMAP24_I2C_SLAVE);
                gpi2c = 0;
        }
 }