Hi Sergio, > -----Original Message----- > From: Aguirre Rodriguez, Sergio Alberto > Sent: Monday, September 21, 2009 8:32 PM > To: Cousson, Benoit; Pais, Allen; linux-omap@xxxxxxxxxxxxxxx > Cc: Raju, Veeramanikandan; Bongale, Hariprasad > Subject: RE: [PATCH][RFC] OMAP3630: Create architecture macros and config > entries. > > > > > -----Original Message----- > > From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap- > > owner@xxxxxxxxxxxxxxx] On Behalf Of Cousson, Benoit > > Sent: Sunday, September 20, 2009 10:08 AM > > To: Pais, Allen; linux-omap@xxxxxxxxxxxxxxx > > Cc: Raju, Veeramanikandan; Bongale, Hariprasad > > Subject: RE: [PATCH][RFC] OMAP3630: Create architecture macros and > config > > entries. > > > > Hi Allen, > > > > > -----Original Message----- > > > From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap- > > > owner@xxxxxxxxxxxxxxx] On Behalf Of Pais, Allen > > > Sent: Sunday, September 20, 2009 9:47 AM > > > To: linux-omap@xxxxxxxxxxxxxxx; Raju, Veeramanikandan; Bongale, > > Hariprasad > > > Subject: [PATCH][RFC] OMAP3630: Create architecture macros and config > > > entries. > > > > > > > > > This patch creates the architectural macros for OMAP3630. > > > > > > Signed-off-by: Allen Pais <allen.pais@xxxxxx> > > > > > > arch/arm/mach-omap2/Kconfig | 13 ++ > > > arch/arm/plat-omap/include/mach/cpu.h | 30 +++++- > > > > > > diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig > > > index 75b1c7e..618b7d5 100755 > > > --- a/arch/arm/mach-omap2/Kconfig > > > +++ b/arch/arm/mach-omap2/Kconfig > > > @@ -19,11 +19,20 @@ config ARCH_OMAP34XX > > > bool "OMAP34xx Based System" > > > depends on ARCH_OMAP3 > > > > > > +config ARCH_OMAP36XX > > > + bool "OMAP36xx Based System" > > > + depends on ARCH_OMAP3 > > > + > > > config ARCH_OMAP3430 > > > bool "OMAP3430 support" > > > depends on ARCH_OMAP3 && ARCH_OMAP34XX > > > select ARCH_OMAP_OTG > > > > > > +config ARCH_OMAP3630 > > > + bool "OMAP3630 support" > > > + depends on ARCH_OMAP3 && ARCH_OMAP34XX && ARCH_OMAP36XX > > > + select ARCH_OMAP_OTG > > > + > > > comment "OMAP Board Type" > > > depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP4 > > > > > > @@ -73,6 +82,10 @@ config MACH_OMAP_3430SDP > > > bool "OMAP 3430 SDP board" > > > depends on ARCH_OMAP3 && ARCH_OMAP34XX > > > > > > +config MACH_OMAP_3630SDP > > > + bool "OMAP 3630 SDP board" > > > + depends on ARCH_OMAP3 && ARCH_OMAP34XX & ARCH_OMAP36XX > > > + > > > config MACH_NOKIA_N8X0 > > > bool "Nokia N800/N810" > > > depends on ARCH_OMAP2420 > > > diff --git a/arch/arm/plat-omap/include/mach/cpu.h b/arch/arm/plat- > > > omap/include/mach/cpu.h > > > index 7a5f9e8..73c656c 100755 > > > --- a/arch/arm/plat-omap/include/mach/cpu.h > > > +++ b/arch/arm/plat-omap/include/mach/cpu.h > > > @@ -157,10 +157,12 @@ IS_OMAP_CLASS(15xx, 0x15) > > > IS_OMAP_CLASS(16xx, 0x16) > > > IS_OMAP_CLASS(24xx, 0x24) > > > IS_OMAP_CLASS(34xx, 0x34) > > > +IS_OMAP_CLASS(36xx, 0x36) > > > > OMAP3630 is "just" an OMAP3430 in disguise. > > I don't think it deserves a new class. It should probably be handled > like > > it was done for 1610 and 1710. > > > > Theoretically, it should be considered as a 3430 ES4.0, because it is an > > OMAP3430 ES3 + couple of bug fixes + couple of improvements. > > > > I think, that the proposal from Sanjeev to support 35xx > > (http://marc.info/?l=linux-omap&m=125050987112798&w=2 ) might be > leveraged > > to handle 36xx as well. > > > > I respectfully tend to disagree with this, since there are some components > inside the chip that aren't specifically fixes, so IMHO they need to start > from scratch about silicon revisions because of that. Could you be more specific? To what point are you answering? Who are "they"? > If there are many common points between 34xx/35xx/36xx, then rename the > reused functions/defines to omap3, instead of omap34xx/omap35xx/omap36xx. Sure, it is the minimum, but then we still have to handle the differences. Do we use a chip specific function or the feature approach? Benoit -- 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