[PATCH 6/6] omap2/3/4: Add Kconfig option to compile in typical omap features
From: Shilimkar, Santosh <hidden>
Date: 2010-06-30 06:47:23
Also in:
linux-omap
-----Original Message----- From: Tony Lindgren [mailto:tony at atomide.com] Sent: Wednesday, June 30, 2010 11:47 AM To: Shilimkar, Santosh Cc: linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org Subject: Re: [PATCH 6/6] omap2/3/4: Add Kconfig option to compile in typical omap features * Shilimkar, Santosh [off-list ref] [100629 17:40]:quoted
quoted
quoted
With your series OMAP4 build breaks because of PM and SMPdependencies.quoted
quoted
To ensure that build doesn't break on OMAP4, I needed below change.Withquoted
quoted
This change I tried your series and it boots OK on OMAP4430 SDPHmm the build does not break for me?
Looks like I am missing something here. How do you build OMAP4 alone with these new changes ??
quoted
Also tested the multi-omap build on OMAP3430 SDP and OMAP4430 SDP. Bothboots OK.quoted
quoted
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 84fecd0..f48f275 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig@@ -7,8 +7,8 @@ config ARCH_OMAP2PLUS_TYPICAL default y select AEABI select REGULATOR - select PM - select PM_RUNTIME + select PM if !ARCH_OMAP4 + select PM_RUNTIME if !ARCH_OMAP4 select VFP select NEON if ARCH_OMAP3 || ARCH_OMAP4 select SERIAL_8250Let's rather fix whatever the issue is for booting (or building?) omap4 with CONFIG_PM and CONFIG_PM_RUNTIME. If we can't implement PM yet for omap4, we can just return early if cpu_is_omap44xx. CONFIG_SMP we can't enable as that requires various ARM changes to work on unicore systems. But hopefully we can enable that too at some point with select SMP if ARCH_OMAP4.