]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/vl_ma2sc.h
i2c, soft-i2c: switch to new multibus/multiadapter support
[people/ms/u-boot.git] / include / configs / vl_ma2sc.h
index e2cf4f005e235ae6fb0fc971ac917e59ef91bf2d..5c43c1bea3b1072f98dbfe8fc6987c34e717c175 100644 (file)
 #define CONFIG_SYS_I2C_SLAVE                   0               /* not used */
 
 #ifndef CONFIG_HARD_I2C
-#define CONFIG_SOFT_I2C
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_SOFT                    /* I2C bit-banged */
+#define CONFIG_SYS_I2C_SOFT_SPEED      CONFIG_SYS_I2C_SPEED
+#define CONFIG_SYS_I2C_SOFT_SLAVE      CONFIG_SYS_I2C_SLAVE
 
 /* Software  I2C driver configuration */
-
 #define I2C_DELAY      udelay(2500000/CONFIG_SYS_I2C_SPEED)
 
 #define AT91_PIN_SDA   (1<<4)          /* AT91C_PIO_PB4 */