From: Marcin Wojtas Date: Tue, 1 Aug 2017 16:36:22 +0000 (+0200) Subject: ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca0a05a98f3090a77b678eaa778a30febc5795b8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms Armada 38x SoCs along with legacy timer (time-armada-370-xp.c), comprise generic Cortex-A9 global timer (arm_global_timer.c). Enable its compilation. The system clocksource subsystem will pick one of above two available ones in case the global timer node is present in the device tree. Signed-off-by: Marcin Wojtas Signed-off-by: Gregory CLEMENT --- diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index 541647f57192..9b49867154bf 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig @@ -60,6 +60,8 @@ config MACH_ARMADA_38X select ARM_ERRATA_720789 select ARM_ERRATA_753970 select ARM_GIC + select ARM_GLOBAL_TIMER + select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK select ARMADA_370_XP_IRQ select ARMADA_38X_CLK select HAVE_ARM_SCU