[U-Boot] [PATCH V4 4/4] edminiv2: add I2C support using mvtwsi driver
Prafulla Wadaskar
prafulla at marvell.com
Mon Aug 30 11:46:06 CEST 2010
> -----Original Message-----
> From: u-boot-bounces at lists.denx.de
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Albert Aribaud
> Sent: Friday, August 27, 2010 9:56 PM
> To: u-boot at lists.denx.de
> Subject: [U-Boot] [PATCH V4 4/4] edminiv2: add I2C support
> using mvtwsi driver
>
>
> Signed-off-by: Albert Aribaud <albert.aribaud at free.fr>
> ---
> include/configs/edminiv2.h | 11 +++++++++++
> 1 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
> index 57dd165..ccfc660 100644
> --- a/include/configs/edminiv2.h
> +++ b/include/configs/edminiv2.h
> @@ -132,6 +132,7 @@
> */
> #include <config_cmd_default.h>
> #define CONFIG_CMD_IDE
> +#define CONFIG_CMD_I2C
>
> /*
> * Network
> @@ -182,6 +183,16 @@
> #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
Acked-by: Prafulla Wadaskar <prafulla at marvell.com>
Regards..
Prafulla . .
More information about the U-Boot
mailing list