ppc/85xx: Simplify the top makefile for 36-bit config for MPC8572DS
[oweals/u-boot.git] / cpu / mpc8260 / i2c.c
index 35cf8f1434660dc4ce3e23cc80af85eb14543198..d2bdcc2d827f99e1560a334f996a9f1f860c79ba 100644 (file)
@@ -58,9 +58,6 @@ static unsigned int i2c_bus_num __attribute__ ((section (".data"))) = 0;
 #define        CONFIG_SYS_I2C_SPEED    50000
 #endif
 
-#ifndef        CONFIG_SYS_I2C_SLAVE
-#define        CONFIG_SYS_I2C_SLAVE    0xFE
-#endif
 /*-----------------------------------------------------------------------
  */
 
@@ -783,19 +780,6 @@ int i2c_set_bus_num(unsigned int bus)
 #endif
        return 0;
 }
-/* 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_I2C_MULTI_BUS */
 #endif /* CONFIG_HARD_I2C */