Dear Otavio Salvador, > The information now is gathered from HW_DIGCTL_CHIPID register and > includes the revision of the chip on the output. > > Signed-off-by: Otavio Salvador <[email protected]> > Cc: Marek Vasut <[email protected]> > Cc: Stefano Babic <[email protected]> > Cc: Fabio Estevam <[email protected]> > --- > arch/arm/cpu/arm926ejs/mx28/mx28.c | 58 > ++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 > deletions(-) > > diff --git a/arch/arm/cpu/arm926ejs/mx28/mx28.c > b/arch/arm/cpu/arm926ejs/mx28/mx28.c index a82ff25..15be605 100644 > --- a/arch/arm/cpu/arm926ejs/mx28/mx28.c > +++ b/arch/arm/cpu/arm926ejs/mx28/mx28.c > @@ -38,6 +38,11 @@ > > DECLARE_GLOBAL_DATA_PTR; > > +/* Product code identification */ > +#define CHIPID_MASK (0xffff << 16) > +#define CHIPID_MX23 (0x3780 << 16) > +#define CHIPID_MX28 (0x2800 << 16)
Don't we have arch/arm/include/asm-mx28/regs-digctl.h ? [...] Rest seems ok Best regards, Marek Vasut _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

