]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/mx28evk.h
mx28evk: Add I2C support
[karo-tx-uboot.git] / include / configs / mx28evk.h
index 8f60496d355009c203975976d0abec2286364b8e..54d21e687a9c3c24e10c1eeff929b3a0928735fc 100644 (file)
@@ -68,6 +68,7 @@
 #define CONFIG_CMD_SPI
 #define CONFIG_CMD_USB
 #define CONFIG_CMD_BOOTZ
+#define CONFIG_CMD_I2C
 
 /*
  * Memory configurations
 #define        CONFIG_USB_STORAGE
 #endif
 
+/* I2C */
+#ifdef CONFIG_CMD_I2C
+#define CONFIG_I2C_MXS
+#define CONFIG_HARD_I2C
+#define CONFIG_SYS_I2C_SPEED   400000
+#endif
+
 /*
  * SPI
  */