OMAP2+: Fix random config build break with !ARM_CPU_SUSPEND
Subsystems (3)
PATCH 1/1 OMAP2+: Fix random config build break with !ARM_CPU_SUSPEND
The random config builds with PM and !ARM_CPU_SUSPEND breaks with below error on omap2plus_defconfig.
arch/arm/mach-omap2/sleep44xx.S:323: undefined reference to cpu_resume' arch/arm/mach-omap2/omap-mpuss-lowpower.c:278: undefined reference to cpu_suspend'
This is because recently merged OMAP5 platform shares the common files with OMAP4 but doesn't select ARM_CPU_SUSPEND. Without the ARM_CPU_SUSPEND the sleep code is meaningless.
Fix the same by adding ARM_CPU_SUSPEND for OMAP5. The suggestion came from Russell King in an off-list discussion.
---
Applies against linux-omap master at commit cb07e339457.
arch/arm/mach-omap2/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/Kconfig +1 -0
@@ -68,6 +68,7 @@ config SOC_OMAP5 select CPU_V7 select ARM_GIC select HAVE_SMP + select ARM_CPU_SUSPEND if PM comment "OMAP Core Type" depends on ARCH_OMAP2
Signature · 1 line
1.7.9.5
Tony Lindgren
maintainerPATCH 1/1 OMAP2+: Fix random config build break with !ARM_CPU_SUSPEND
Quoted 6 lines · Santosh Shilimkar
The random config builds with PM and !ARM_CPU_SUSPEND breaks with below error on
omap2plus_defconfig.
arch/arm/mach-omap2/sleep44xx.S:323: undefined reference tocpu_resume' arch/arm/mach-omap2/omap-mpuss-lowpower.c:278: undefined reference tocpu_suspend'
Quoted 6 lines
This is because recently merged OMAP5 platform shares the common files with OMAP4 but doesn't select
ARM_CPU_SUSPEND. Without theARM_CPU_SUSPENDthe sleep code is meaningless.Fix the same by adding
ARM_CPU_SUSPENDfor OMAP5. The suggestion came from Russell King in an off-list discussion.
Thanks applying into fixes.
Tony