]> git.sur5r.net Git - u-boot/blobdiff - cpu/ppc4xx/i2c.c
ppc/85xx: add cpu init config file for boot from NAND
[u-boot] / cpu / ppc4xx / i2c.c
index 9d416ca5e8fdab6eac8e376dfdabb302f09f2edd..e3e1bab64f5473ad8fe71d1cd9fb08bd7352581f 100644 (file)
@@ -438,18 +438,4 @@ int i2c_set_bus_num(unsigned int bus)
        return 0;
 }
 #endif /* CONFIG_I2C_MULTI_BUS */
-
-/* TODO: add 100/400k switching */
-unsigned int i2c_get_bus_speed(void)
-{
-       return CONFIG_SYS_I2C_SPEED;
-}
-
-int i2c_set_bus_speed(unsigned int speed)
-{
-       if (speed != CONFIG_SYS_I2C_SPEED)
-               return -1;
-
-       return 0;
-}
 #endif /* CONFIG_HARD_I2C */