From: Albert Aribaud Date: Fri, 27 Aug 2010 16:26:06 +0000 (+0200) Subject: edminiv2: add I2C support using mvtwsi driver X-Git-Tag: v2010.09-rc1~7^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c2ca44c24b77e8f65bd5c564576d8eee1a78b4f5;p=u-boot edminiv2: add I2C support using mvtwsi driver Signed-off-by: Albert Aribaud Acked-by: Prafulla Wadaskar Acked-by: Heiko Schocher --- diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h index 57dd1651f3..ccfc66053b 100644 --- a/include/configs/edminiv2.h +++ b/include/configs/edminiv2.h @@ -132,6 +132,7 @@ */ #include #define CONFIG_CMD_IDE +#define CONFIG_CMD_I2C /* * Network @@ -181,6 +182,16 @@ /* end of IDE defines */ #endif /* CMD_IDE */ +/* + * I2C related stuff + */ +#ifdef CONFIG_CMD_I2C +#define CONFIG_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI_BASE ORION5X_TWSI_BASE +#define CONFIG_SYS_I2C_SLAVE 0x0 +#define CONFIG_SYS_I2C_SPEED 100000 +#endif + /* * Environment variables configurations */