ARM: meson: select HAVE_ARM_TWD and ARM_GLOBAL_TIMER
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Fri, 23 Nov 2018 19:53:06 +0000 (20:53 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 10 Dec 2018 20:43:40 +0000 (12:43 -0800)
The 32-bit Meson SoCs use multiple Cortex-A9 (Meson8 and Meson8m2) or
Cortex-A5 (Meson8b) CPU cores. These come with the "ARM global timer"
and "Timer-Watchdog" (aka TWD, which provides both a per-cpu local timer
and watchdog).

Selecting ARM_GLOBAL_TIMER and HAVE_ARM_TWD allows us to add the timers
to the SoC.dtsi files.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/mach-meson/Kconfig

index d51cfda..b168316 100644 (file)
@@ -4,12 +4,14 @@ menuconfig ARCH_MESON
        select GPIOLIB
        select GENERIC_IRQ_CHIP
        select ARM_GIC
+       select ARM_GLOBAL_TIMER
        select CACHE_L2X0
        select PINCTRL
        select PINCTRL_MESON
        select COMMON_CLK
        select COMMON_CLK_AMLOGIC
        select HAVE_ARM_SCU if SMP
+       select HAVE_ARM_TWD if SMP
 
 if ARCH_MESON