[PATCH 2/7] i.MX53: Move specific i.MX53 silicon definitions to imx53-regs.h
Sascha Hauer
s.hauer at pengutronix.de
Thu Apr 12 15:47:43 EDT 2012
On Thu, Apr 12, 2012 at 09:04:15PM +0200, Eric Bénard wrote:
> Le Thu, 12 Apr 2012 20:20:19 +0400,
> Alexander Shiyan <shc_work at mail.ru> a écrit :
>
> >
> > +/* silicon revisions specific to i.MX53 */
> > +#define MX53_CHIP_REV_1_0 0x10
> > +#define MX53_CHIP_REV_2_0 0x20
> > +#define MX53_CHIP_REV_2_1 0x21
> > +
> > #endif /* __MACH_IMX53_REGS_H */
> >
>
> The goal was to move chip revision to imx-regs.h and remove them from
> other files (as MX25/35/51/53 seems to share the same pattern for chip
> revision)
Or to put it differently you should instead let i.MX51 use the
IMX_CHIP_REV_* macros instead of MX51_CHIP_REV_*
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 |
More information about the barebox
mailing list