From b089d039b1971fc3abfe1d9bcebd0d35245fb110 Mon Sep 17 00:00:00 2001 From: trem Date: Sat, 21 Sep 2013 18:13:36 +0200 Subject: i2c: update config using mxc driver to new subsystem Signed-off-by: Philippe Reynes --- include/configs/imx31_phycore.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include/configs/imx31_phycore.h') 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 -- cgit v1.2.1