* Premi, Sanjeev <[EMAIL PROTECTED]> [080806 15:03]:
> For 35x processors we need to make compile time decisions to exlude the code 
> that may not be applicable for the specifc processor e.g. excluding the code 
> applicable for DSP/ SGX or both depending upon the exact part number.

This continuous top posting makes threads impossible to read, please
everybody: do not top post on mailing lists.

Compile time detection of 34xx is not enough. We need to also be able to
detect it during runtime. And if you can't do it based on any registers,
then we need to add omap2_set_globals_3505() et al and force the type
that way.

Regards,

Tony


> 
> ~sanjeev
> 
> -----Original Message-----
> From: Tony Lindgren [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 06, 2008 3:41 PM
> To: Premi, Sanjeev
> Cc: Kridner, Jason; '[EMAIL PROTECTED]'; 'linux-omap@vger.kernel.org'
> Subject: Re: [PATCH] Added support for OMAP35x processor series
> 
> * Premi, Sanjeev <[EMAIL PROTECTED]> [080806 12:55]:
> > >> Well if there's no way to detect certain omaps during runtime,
> > >> please patch arch/arm/plat-omap/common.c to have something like struct 
> > >> omap_globals omap3503_globals.
> >
> > There was no need to re-define these structures for the current series of 
> > the OMAP35x processors.
> > Hence, it was left as it.
> 
> What exactly do you need to define then for various 35xx processors that's 
> different from 34xx?
> 
> > >> BTW, why can't the dsp code detect if the DSP is there or not?
> >
> > (Assuming you mean the code running on ARM that looks for the
> > DSP/SGX/...) The detection was based on the chip ID. This happens to be 
> > same for OMAP34XX and OMAP35X.
> 
> How about trying to read the DSP revision register or something similar?
> 
> Tony
> 
> >
> > ~sanjeev
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Tony Lindgren
> > Sent: Wednesday, August 06, 2008 2:37 PM
> > To: Kridner, Jason
> > Cc: '[EMAIL PROTECTED]'; 'linux-omap@vger.kernel.org'
> > Subject: Re: [PATCH] Added support for OMAP35x processor series
> >
> > * Kridner, Jason <[EMAIL PROTECTED]> [080805 17:12]:
> > > No, ROM CRC is useful for detecting between some device revisions, but 
> > > not OMAp3430 vs OMAP3530.
> > >
> > > ----- Original Message -----
> > > From: Koen Kooi <[EMAIL PROTECTED]>
> > > To: linux-omap@vger.kernel.org <linux-omap@vger.kernel.org>
> > > Cc: Kridner, Jason
> > > Sent: Tue Aug 05 05:10:40 2008
> > > Subject: Re: [PATCH] Added support for OMAP35x processor series
> > >
> > >
> > > Op 5 aug 2008, om 11:50 heeft Igor Stoppa het volgende geschreven:
> > >
> > > > On Tue, 2008-08-05 at 15:09 +0530, ext Premi, Sanjeev wrote:
> > > >> This patch is needed to ensure that we can make decisions based
> > > >> on the processor capabilities.
> > > >> E.g. OMAP3503 does not contain a DSP. We shouldn't be trying to
> > > >> disable/ manage the clocks for DSP on this processor. Same for SGX.
> > > >
> > > > Why can't the detection happen at runtime?
> > >
> > > AIUI the ID bits are the same (linux misdetect the 3530 on my beagle
> > > for a 3430). I heard that the only definitive way to do it at
> > > runtime is to CRC check the ROM code.
> > >
> > > Jason, is that correct?
> >
> > Well if there's no way to detect certain omaps during runtime, please patch 
> > arch/arm/plat-omap/common.c to have something like struct omap_globals 
> > omap3503_globals.
> >
> > BTW, why can't the dsp code detect if the DSP is there or not?
> >
> > Tony
> >
> >
> > To unsubscribe from this list: send the line "unsubscribe linux-omap"
> > in the body of a message to [EMAIL PROTECTED] More majordomo
> > info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to