> -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of [email protected] > Sent: Friday, March 18, 2011 1:35 PM > To: [email protected] > Subject: [U-Boot] [PATCH 06/11] edminiv2: add I2C support using mvtwsi > driver > > From: Albert Aribaud <[email protected]> > > Signed-off-by: Albert Aribaud <[email protected]> > --- > include/configs/edminiv2.h | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h > index 57dd165..36ed392 100644 > --- a/include/configs/edminiv2.h > +++ b/include/configs/edminiv2.h > @@ -182,6 +182,15 @@ > #endif /* CMD_IDE */ > > /* > + * I2C related stuff > + */ > +#define CONFIG_I2C_DRIVER_MVTWSI > +#define CONFIG_I2C_MVTWSI_BASE ORION5X_TWSI_BASE > +#define CONFIG_SYS_I2C_SLAVE 0x0 > +#define CONFIG_SYS_I2C_SPEED 100000 > +#define CONFIG_CMD_I2C
Pls defind _CMD_I2C above with other enabled commands and #ifdefed this stuff in it. Regards.. Prafulla . . _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

