summaryrefslogtreecommitdiffstats
path: root/include/configs/imx31_phycore.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/imx31_phycore.h
parentfac9640895c3f778c3d2a33521dfd95bd5cba653 (diff)
downloadblackbird-obmc-uboot-b089d039b1971fc3abfe1d9bcebd0d35245fb110.tar.gz
blackbird-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/imx31_phycore.h')
-rw-r--r--include/configs/imx31_phycore.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h
index 1e2b12cb25..6b99d1bd3f 100644
--- a/include/configs/imx31_phycore.h
+++ b/include/configs/imx31_phycore.h
@@ -35,11 +35,10 @@
* Hardware drivers
*/
-#define CONFIG_HARD_I2C
-#define CONFIG_I2C_MXC
-#define CONFIG_SYS_I2C_BASE I2C2_BASE_ADDR
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_MXC
+#define CONFIG_SYS_SPD_BUS_NUM 1 /* I2C2 */
#define CONFIG_SYS_I2C_CLK_OFFSET I2C2_CLK_OFFSET
-#define CONFIG_SYS_I2C_SPEED 100000
#define CONFIG_MXC_UART
#define CONFIG_MXC_UART_BASE UART1_BASE
OpenPOWER on IntegriCloud