Hi Renaud, On Thu, Aug 30, 2012 at 03:00:15PM +0100, Renaud Barbier wrote: > In order to use the IMX i2c driver on the mpc85xx SOC, the file > mach/clocks.h is renamed mach/clock.h. Files using this header are updated > accordingly. The file mach/generic.h is also added to accommodate the driver. > > Finally, there is a clean up of a line too long. Please drop this. If you are really interested in the line wrap, you can send a separate patch, but having this in an unrelated patch is not good. > return 0; > } > > + > +#define cpu_is_mx1() (0) Rather than adding a cpu_is_mx1() for ppc you can simply drop the code in the i2c driver. i.MX1 is quite old, noone uses i2c on i.MX1 and it's unlikely that someone ever will. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox