]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/iocon.h
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[karo-tx-uboot.git] / include / configs / iocon.h
index bae525026edfcf3e668ef1e6c486813db135584d..32d9050adb952f14838e96ba00ed4ac5ba00f28e 100644 (file)
 /*
  * I2C stuff
  */
-#define CONFIG_SYS_I2C_SPEED           400000
-
-/* enable I2C and select the hardware/software driver */
-#undef  CONFIG_HARD_I2C                        /* I2C with hardware support    */
-#define CONFIG_SOFT_I2C                1       /* I2C bit-banged               */
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_PPC4XX
+#define CONFIG_SYS_I2C_PPC4XX_CH0
+#define CONFIG_SYS_I2C_PPC4XX_SPEED_0          400000
+#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0          0x7F
 
 /*
  * Software (bit-bang) I2C driver configuration