Hi Vipin, On Wed, 2010-04-21 at 13:24 +0530, Vipin KUMAR wrote: > The i2c IP used by spear platform is a synopsys i2c controller > The earlier driver adds the driver of this controller as if it is > specific to > spear platform. > The driver files are now moved into drivers/i2c folder for reusability > by other > platforms > > Signed-off-by: Vipin Kumar <vipin.ku...@st.com> > --- > arch/arm/include/asm/arch-spear/spr_i2c.h | 146 ------------- > drivers/i2c/Makefile | 2 +- > drivers/i2c/dw_i2c.c | 331 > +++++++++++++++++++++++++++++
I'd similarly lean towards naming the new file designware.c, or synopsis.c. It looks like the rest of the i2c drivers use a _i2c suffix, so I guess designware_i2c.c or synopsis_i2c.c would be best for consistency's sake. At a minimum it'd be nice to mention in the dw_i2c.c file what silicon the driver supports as right now a user needs to guess what "dw_i2c.c" runs on based solely on "dw". When you create patches with git format-patch, its nice to use the -M and -C to detect renames/copies. It makes the patch much smaller and much easier to review what actually changed. Best, Peter _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot