From a1c662965dcdc6f0986691db2ddfcbc963e82194 Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Fri, 5 Aug 2011 12:19:08 +0200 Subject: I2C: added I2C-2 and I2C-3 to MX35 Signed-off-by: Stefano Babic CC: Heiko Schocher Acked-by: Heiko Schocher --- drivers/i2c/mxc_i2c.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/i2c') diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 2869d7cec3..bf3ad956c1 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -73,6 +73,10 @@ struct mxc_i2c_regs { #define I2C_BASE I2C2_BASE_ADDR #elif defined(CONFIG_SYS_I2C_MX35_PORT1) #define I2C_BASE I2C_BASE_ADDR +#elif defined(CONFIG_SYS_I2C_MX35_PORT2) +#define I2C_BASE I2C2_BASE_ADDR +#elif defined(CONFIG_SYS_I2C_MX35_PORT3) +#define I2C_BASE I2C3_BASE_ADDR #else #error "define CONFIG_SYS_I2C_MX_PORTx to use the mx I2C driver" #endif -- cgit