summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-10-30 20:30:34 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:41:27 +0100
commit9519e80c755592b3527f435497521563d158649d (patch)
treee1e6a9b3d9f7d2ef3fd37341fc1480b4f9dc7bb8 /drivers/clocksource
parent40ada2aac5e3a3c38f295d4e37b182fc4feff723 (diff)
downloadblackbird-op-linux-9519e80c755592b3527f435497521563d158649d.tar.gz
blackbird-op-linux-9519e80c755592b3527f435497521563d158649d.zip
clocksource/drivers/armada-370-xp: Add the COMPILE_TEST option
Increase the compilation test coverage by adding the COMPILE_TEST option. Due to the non portable 'delay' code, the compilation is restricted to the ARM architecture only. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 0c06103769a6..b6bb0a613999 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -46,8 +46,11 @@ config ROCKCHIP_TIMER
Enables the support for the rockchip timer driver.
config ARMADA_370_XP_TIMER
- bool
+ bool "Armada 370 and XP timer driver" if COMPILE_TEST
+ depends on ARM
select CLKSRC_OF
+ help
+ Enables the support for the Armada 370 and XP timer driver.
config MESON6_TIMER
bool
OpenPOWER on IntegriCloud