]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms
authorMarcin Wojtas <mw@semihalf.com>
Tue, 1 Aug 2017 16:36:22 +0000 (18:36 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 3 Aug 2017 13:17:06 +0000 (15:17 +0200)
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 <mw@semihalf.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/mach-mvebu/Kconfig

index 541647f5719255cfd755a22b0435f97426e92612..9b49867154bfba3f3a2a5d589219c48fd381669a 100644 (file)
@@ -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