summaryrefslogtreecommitdiff
path: root/include/configs/apf27.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/apf27.h
parentfac9640895c3f778c3d2a33521dfd95bd5cba653 (diff)
downloadu-boot-imx-b089d039b1971fc3abfe1d9bcebd0d35245fb110.zip
u-boot-imx-b089d039b1971fc3abfe1d9bcebd0d35245fb110.tar.gz
u-boot-imx-b089d039b1971fc3abfe1d9bcebd0d35245fb110.tar.bz2
i2c: update config using mxc driver to new subsystem
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Diffstat (limited to 'include/configs/apf27.h')
-rw-r--r--include/configs/apf27.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/configs/apf27.h b/include/configs/apf27.h
index e7e258f..1193013 100644
--- a/include/configs/apf27.h
+++ b/include/configs/apf27.h
@@ -321,11 +321,12 @@
*/
#ifdef CONFIG_CMD_I2C
-#define CONFIG_HARD_I2C
-#define CONFIG_I2C_MXC
-#define CONFIG_SYS_I2C_BASE IMX_I2C1_BASE
-#define CONFIG_SYS_I2C_SPEED 100000 /* 100 kHz */
-#define CONFIG_SYS_I2C_SLAVE 0x7F
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_MXC
+#define CONFIG_SYS_MXC_I2C1_SPEED 100000 /* 100 kHz */
+#define CONFIG_SYS_MXC_I2C1_SLAVE 0x7F
+#define CONFIG_SYS_MXC_I2C2_SPEED 100000 /* 100 kHz */
+#define CONFIG_SYS_MXC_I2C2_SLAVE 0x7F
#define CONFIG_SYS_I2C_NOPROBES { }
#ifdef CONFIG_CMD_EEPROM