summaryrefslogtreecommitdiffstats
path: root/include/configs/flea3.h
diff options
context:
space:
mode:
authortrem <tremyfr@yahoo.fr>2013-09-21 18:13:36 +0200
committerHeiko Schocher <hs@denx.de>2013-10-17 07:20:25 +0200
commitb089d039b1971fc3abfe1d9bcebd0d35245fb110 (patch)
treef6a1eb6422f5e0a220d8db5d6aef51a2fb843096 /include/configs/flea3.h
parentfac9640895c3f778c3d2a33521dfd95bd5cba653 (diff)
downloadtalos-obmc-uboot-b089d039b1971fc3abfe1d9bcebd0d35245fb110.tar.gz
talos-obmc-uboot-b089d039b1971fc3abfe1d9bcebd0d35245fb110.zip
i2c: update config using mxc driver to new subsystem
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Diffstat (limited to 'include/configs/flea3.h')
-rw-r--r--include/configs/flea3.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/configs/flea3.h b/include/configs/flea3.h
index 655df67961..1781089ec7 100644
--- a/include/configs/flea3.h
+++ b/include/configs/flea3.h
@@ -50,11 +50,10 @@
/*
* Hardware drivers
*/
-#define CONFIG_HARD_I2C
-#define CONFIG_I2C_MXC
-#define CONFIG_SYS_I2C_BASE I2C3_BASE_ADDR
-#define CONFIG_SYS_I2C_SPEED 100000
-#define CONFIG_SYS_I2C_SLAVE 0xfe
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_MXC
+#define CONFIG_SYS_SPD_BUS_NUM 2 /* I2C3 */
+#define CONFIG_SYS_MXC_I2C3_SLAVE 0xfe
#define CONFIG_MXC_SPI
#define CONFIG_MXC_GPIO
OpenPOWER on IntegriCloud