From: Holger Brunck <[holger.brunck@keymile.com]> Date: Thu, 16 Jun 2011 12:41:15 +0000 (+0530) Subject: arm/kirkwood: if CONFIG_SOFT_I2C is set don't set CONFIG_I2C_MVTWSI X-Git-Tag: v2011.09-rc1~267 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b31a82e95f59fa938911a218aae2a7eb1ae932a7;p=u-boot arm/kirkwood: if CONFIG_SOFT_I2C is set don't set CONFIG_I2C_MVTWSI Some boards e.g. keymile arm boards have CONFIG_CMD_I2C switched on but they use soft i2c on kirkwood. So don't switch CONFIG_I2C_MVTWSI on in this case. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar cc: Heiko Schocher --- diff --git a/arch/arm/include/asm/arch-kirkwood/config.h b/arch/arm/include/asm/arch-kirkwood/config.h index 71ba464126..b7dae1e2dc 100644 --- a/arch/arm/include/asm/arch-kirkwood/config.h +++ b/arch/arm/include/asm/arch-kirkwood/config.h @@ -137,7 +137,9 @@ * I2C related stuff */ #ifdef CONFIG_CMD_I2C +#ifndef CONFIG_SOFT_I2C #define CONFIG_I2C_MVTWSI +#endif #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SPEED 100000 #endif