shanth
> > Cc: Gadiyar, Anand; linux-omap@vger.kernel.org
> > Subject: RE: [PATCH] omap: Add macros to evaluate cpu revision
> >
>
> [snip] [snip]
>
> > > >>>>>>> +#define ES_2_0 OMAP_REVBITS_10
> > > >>>>>
> -Original Message-
> From: linux-omap-ow...@vger.kernel.org
> [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Premi, Sanjeev
> Sent: Monday, July 26, 2010 8:57 PM
> To: Menon, Nishanth
> Cc: Gadiyar, Anand; linux-omap@vger.kernel.org
> Subject: RE: [PATCH
> -Original Message-
> From: Menon, Nishanth
> Sent: Thursday, July 22, 2010 5:16 PM
> To: Premi, Sanjeev
> Cc: Gadiyar, Anand; linux-omap@vger.kernel.org
> Subject: Re: [PATCH] omap: Add macros to evaluate cpu revision
>
> Premi, Sanjeev had written, on
---
>
> >
> > Here is a sample usage from one of the patch I am reworking
> > for submission here:
> >
> > @@ -488,7 +494,9 @@ void omap_sram_idle(void)
> > * of AUTO_CNT = 1 enabled. This takes care of errata 1.142.
> > * Hence store/restore the SDRC_POWER register here.
> >
Premi, Sanjeev had written, on 07/22/2010 06:20 AM, the following:
-Original Message-
From: Menon, Nishanth
Sent: Thursday, July 22, 2010 4:18 PM
To: Premi, Sanjeev
Cc: Gadiyar, Anand; linux-omap@vger.kernel.org
Subject: Re: [PATCH] omap: Add macros to evaluate cpu revision
Premi
> -Original Message-
> From: Menon, Nishanth
> Sent: Thursday, July 22, 2010 4:18 PM
> To: Premi, Sanjeev
> Cc: Gadiyar, Anand; linux-omap@vger.kernel.org
> Subject: Re: [PATCH] omap: Add macros to evaluate cpu revision
>
> Premi, Sanjeev had written, on
Premi, Sanjeev had written, on 07/22/2010 04:49 AM, the following:
-Original Message-
From: Menon, Nishanth
Sent: Thursday, July 22, 2010 3:08 PM
To: Gadiyar, Anand
Cc: Premi, Sanjeev; linux-omap@vger.kernel.org
Subject: Re: [PATCH] omap: Add macros to evaluate cpu revision
On 07/22
RE: [PATCH] omap: Add macros to evaluate cpu revision
>
> > -Original Message-
> > From: Menon, Nishanth
> > Sent: Thursday, July 22, 2010 3:08 PM
> > To: Gadiyar, Anand
> > Cc: Premi, Sanjeev; linux-omap@vger.kernel.org
> > Subject: Re: [PATCH] omap: Add
> -Original Message-
> From: Menon, Nishanth
> Sent: Thursday, July 22, 2010 3:08 PM
> To: Gadiyar, Anand
> Cc: Premi, Sanjeev; linux-omap@vger.kernel.org
> Subject: Re: [PATCH] omap: Add macros to evaluate cpu revision
>
> On 07/22/2010 01:53 AM, Gadiyar, Anan
On 07/22/2010 01:53 AM, Gadiyar, Anand wrote:
@@ -460,4 +461,35 @@ OMAP3_HAS_FEATURE(isp, ISP)
OMAP3_HAS_FEATURE(192mhz_clk, 192MHZ_CLK)
OMAP3_HAS_FEATURE(io_wakeup, IO_WAKEUP)
+/*
+ * Map revision bits to silicon specific revisions
+ */
+#define ES_1_0 OMAP_REVBITS_00
probably need
> > @@ -460,4 +461,35 @@ OMAP3_HAS_FEATURE(isp, ISP)
> > OMAP3_HAS_FEATURE(192mhz_clk, 192MHZ_CLK)
> > OMAP3_HAS_FEATURE(io_wakeup, IO_WAKEUP)
> >
> > +/*
> > + * Map revision bits to silicon specific revisions
> > + */
> > +#define ES_1_0 OMAP_REVBITS_00
> probably need ES_1_1, 1_2
Premi, Sanjeev had written, on 07/21/2010 10:12 AM, the following:
This patch adds macros to evaluate the cpu revision.
These macros increase readability by reducing the
repetitive code when multiple silicon and their
revisions have to be tested.
Example usage would be:
if (cpu_rev_eq(omap34xx
This patch adds macros to evaluate the cpu revision.
These macros increase readability by reducing the
repetitive code when multiple silicon and their
revisions have to be tested.
Example usage would be:
if (cpu_rev_eq(omap34xx, ES_1_0))
Signed-off-by: Sanjeev Premi
---
arch/arm/plat-omap/inc
13 matches
Mail list logo