From b513cd87edba1973f0e3997deb394c5fe3d23853 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 16 Oct 2018 12:15:35 -0700 Subject: clocksource: Introduce ARCH_HAS_IMX_GPT Not all SoCs use i.MX GPT block as a clocksource, so introduce ARCH_HAS_IMX_GPT to mark the ones that do. Signed-off-by: Andrey Smirnov Signed-off-by: Sascha Hauer --- drivers/clocksource/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 1a33b2f0c9..3caf72503a 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -1,3 +1,6 @@ +config ARCH_HAS_IMX_GPT + bool + config AMBA_SP804 bool depends on ARM_AMBA @@ -76,4 +79,4 @@ config CLOCKSOURCE_ARM_GLOBAL_TIMER depends on ARM && CPU_V7 config CLOCKSOURCE_IMX_GPT def_bool y - depends on ARCH_IMX + depends on ARCH_HAS_IMX_GPT -- cgit v1.2.3