RE: [PATCH 11/14] omap4: Fix silicon version detection for early samples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Menon, Nishanth
> Sent: Friday, September 17, 2010 3:48 PM
> To: Shilimkar, Santosh; linux-omap@xxxxxxxxxxxxxxx
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [PATCH 11/14] omap4: Fix silicon version detection for early
> samples
> 
> > -----Original Message-----
> > From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap-
> > owner@xxxxxxxxxxxxxxx] On Behalf Of Shilimkar, Santosh
> > Sent: Friday, September 17, 2010 4:48 AM
> 
> [..]
> 
> > diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> > index ae70ae9..0412233 100644
> > --- a/arch/arm/mach-omap2/id.c
> > +++ b/arch/arm/mach-omap2/id.c
> > @@ -308,6 +308,15 @@ static void __init omap4_check_revision(void)
> >  	hawkeye = (idcode >> 12) & 0xffff;
> >  	rev = (idcode >> 28) & 0xff;
> >
> > +	/*
> > +	 * Few initial ES2.0 samples IDCODE is same as ES1.0
> > +	 * Use ARM register to detect the correct ES version
> > +	 */
> > +	if (!rev) {
> > +		idcode = read_cpuid(CPUID_ID);
> > +		rev = (idcode & 0xf) - 1;
> > +	}
> > +
> 
> Squash this to patch 10?
> 
Actually this was kind of temporary patch and was suppose to be
reverted later and hence I kept it separate. 
Felipe, benoit suggested to have this change anyways considering
it's just one check.
http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg34521.html

But now I think we can fold this into id patch itself. Will fold it
into patch 10.

Regards,
Santosh


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux