All of lore.kernel.org
 help / color / mirror / Atom feed
* omap3630: cpu revision bits are different
@ 2010-08-12 12:48 Premi, Sanjeev
  2010-08-13  6:22 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Premi, Sanjeev @ 2010-08-12 12:48 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

Hi all,

While re working on the cpu revision patch, I came
across these definitions:

#define OMAP3630_REV_ES1_0      0x36300034
#define OMAP3630_REV_ES1_1      0x36300134
#define OMAP3630_REV_ES1_2      0x36300234

Contrast this with:

#define OMAP3430_REV_ES1_0      0x34300034
#define OMAP3430_REV_ES2_0      0x34301034
#define OMAP3430_REV_ES2_1      0x34302034

I may have missed the discussion on this list, but
wanted to quickly check if the difference in intended
OR accidental.

I do recognize that definitions for 3630 start at lower
nibble, so they appear to be better choice.

Best regards,
Sanjeev

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: omap3630: cpu revision bits are different
  2010-08-12 12:48 omap3630: cpu revision bits are different Premi, Sanjeev
@ 2010-08-13  6:22 ` Tony Lindgren
  2010-08-13  7:54   ` Premi, Sanjeev
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2010-08-13  6:22 UTC (permalink / raw)
  To: Premi, Sanjeev; +Cc: linux-omap@vger.kernel.org

* Premi, Sanjeev <premi@ti.com> [100812 15:42]:
> Hi all,
> 
> While re working on the cpu revision patch, I came
> across these definitions:
> 
> #define OMAP3630_REV_ES1_0      0x36300034
> #define OMAP3630_REV_ES1_1      0x36300134
> #define OMAP3630_REV_ES1_2      0x36300234
> 
> Contrast this with:
> 
> #define OMAP3430_REV_ES1_0      0x34300034
> #define OMAP3430_REV_ES2_0      0x34301034
> #define OMAP3430_REV_ES2_1      0x34302034
> 
> I may have missed the discussion on this list, but
> wanted to quickly check if the difference in intended
> OR accidental.

Hmm for those defines it should be just a running
number for the revision so we should most likely
just renumber the OMAP3430_REV_ES bits.
 
> I do recognize that definitions for 3630 start at lower
> nibble, so they appear to be better choice.

Yeah. Care to do a patch to renumber 3430 revision
bits for the next merge window? AFAIK, that should
change anything in the functionality so it's only
a cosmetic change. Should be grepped carefully though :)

Tony

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: omap3630: cpu revision bits are different
  2010-08-13  6:22 ` Tony Lindgren
@ 2010-08-13  7:54   ` Premi, Sanjeev
  0 siblings, 0 replies; 3+ messages in thread
From: Premi, Sanjeev @ 2010-08-13  7:54 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap@vger.kernel.org

> -----Original Message-----
> From: Tony Lindgren [mailto:tony@atomide.com] 
> Sent: Friday, August 13, 2010 11:53 AM
> To: Premi, Sanjeev
> Cc: linux-omap@vger.kernel.org
> Subject: Re: omap3630: cpu revision bits are different
> 
> * Premi, Sanjeev <premi@ti.com> [100812 15:42]:
> > Hi all,
> > 
> > While re working on the cpu revision patch, I came
> > across these definitions:
> > 
> > #define OMAP3630_REV_ES1_0      0x36300034
> > #define OMAP3630_REV_ES1_1      0x36300134
> > #define OMAP3630_REV_ES1_2      0x36300234
> > 
> > Contrast this with:
> > 
> > #define OMAP3430_REV_ES1_0      0x34300034
> > #define OMAP3430_REV_ES2_0      0x34301034
> > #define OMAP3430_REV_ES2_1      0x34302034
> > 
> > I may have missed the discussion on this list, but
> > wanted to quickly check if the difference in intended
> > OR accidental.
> 
> Hmm for those defines it should be just a running
> number for the revision so we should most likely
> just renumber the OMAP3430_REV_ES bits.
>  
> > I do recognize that definitions for 3630 start at lower
> > nibble, so they appear to be better choice.
> 
> Yeah. Care to do a patch to renumber 3430 revision
> bits for the next merge window? AFAIK, that should
> change anything in the functionality so it's only
> a cosmetic change. Should be grepped carefully though :)

Will do so... will have it ready by MON.

> 
> Tony
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-13  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-12 12:48 omap3630: cpu revision bits are different Premi, Sanjeev
2010-08-13  6:22 ` Tony Lindgren
2010-08-13  7:54   ` Premi, Sanjeev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.