linux/arch/arm/mach-exynos
Arnd Bergmann 03c1b7609f ARM: EXYNOS: Fix build with ARM_CPU_SUSPEND=n
"ARM: EXYNOS: Add support for firmware-assisted suspend/resume" patch
added to arch/arm/mach-exynos/firmware.c new references to functions
from arch/arm/mach-exynos/sleep.S causing the new CONFIG_PM_SLEEP=n
build breakages.  Then "ARM: EXYNOS: Fix build with PM_SLEEP=n and
ARM_EXYNOS_CPUIDLE=y" patch tried to fix the CONFIG_PM_SLEEP=n issues
by always building sleep.S which caused the CONFIG_ARM_CPU_SUSPEND=n
build breakage.  Fix it by building arch/arm/mach-exynos/sleep.o only
for CONFIG_EXYNOS_CPU_SUSPEND=y and adding appropriate IS_ENABLED()
checks to arch/arm/mach-exynos/firmware.c.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[b.zolnierkie: fixed ->resume check and added patch description]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
2014-10-28 08:10:21 +09:00
..
include/mach ARM: EXYNOS: remove unused <mach/memory.h> 2014-08-18 09:04:05 -05:00
common.h ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y 2014-10-21 00:06:36 +09:00
exynos-smc.S ARM: EXYNOS: Add support for secure monitor calls 2013-04-09 01:52:06 +09:00
exynos.c ARM: EXYNOS: allow driver usage on Exynos4x12 SoCs 2014-10-21 00:06:36 +09:00
firmware.c ARM: EXYNOS: Fix build with ARM_CPU_SUSPEND=n 2014-10-28 08:10:21 +09:00
headsmp.S ARM: EXYNOS: Remove file path from comment section 2014-07-15 08:40:32 +09:00
hotplug.c ARM: SoC cleanups for 3.17 2014-08-08 11:00:26 -07:00
Kconfig ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y 2014-10-21 00:06:36 +09:00
Makefile ARM: EXYNOS: Fix build with ARM_CPU_SUSPEND=n 2014-10-28 08:10:21 +09:00
Makefile.boot ARM: dts: Add basic dts file for Samsung Trats board 2012-09-21 10:50:27 +09:00
mcpm-exynos.c ARM: 8129/1: errata: work around Cortex-A15 erratum 830321 using dummy strex 2014-08-27 15:40:13 +01:00
mfc.h ARM: SAMSUNG: Reorganize calls to reserve memory for MFC 2014-03-21 02:00:09 +09:00
platsmp.c ARM: EXYNOS: SWRESET is needed to boot secondary CPU on exynos3250 2014-10-21 00:06:36 +09:00
pm_domains.c ARM: exynos: Move to generic PM domain DT bindings 2014-09-22 15:57:40 +02:00
pm.c ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y 2014-10-21 00:06:36 +09:00
pmu.c ARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c 2014-10-21 00:06:35 +09:00
regs-pmu.h ARM: EXYNOS: SWRESET is needed to boot secondary CPU on exynos3250 2014-10-21 00:06:36 +09:00
regs-sys.h ARM: EXYNOS: Move SYSREG definition into sys-reg specific file 2014-07-15 08:40:31 +09:00
sleep.S ARM: EXYNOS: Add support for firmware-assisted suspend/resume 2014-10-21 00:06:35 +09:00
smc.h ARM: EXYNOS: Add support for firmware-assisted suspend/resume 2014-10-21 00:06:35 +09:00
suspend.c ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y 2014-10-21 00:06:36 +09:00