clocksource/drivers/tcb_clksrc: Move Kconfig option

Move the ATMEL_TCB_CLKSRC option to drivers/clocksource and make it silent
if COMPILE_TEST is not selected.

Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
This commit is contained in:
Alexandre Belloni
2019-04-26 23:47:14 +02:00
committed by Daniel Lezcano
parent 7803dc865b
commit 6275f4947e
2 changed files with 7 additions and 14 deletions

View File

@@ -410,6 +410,13 @@ config ATMEL_ST
help
Support for the Atmel ST timer.
config ATMEL_TCB_CLKSRC
bool "Atmel TC Block timer driver" if COMPILE_TEST
depends on HAS_IOMEM
select TIMER_OF if OF
help
Support for Timer Counter Blocks on Atmel SoCs.
config CLKSRC_EXYNOS_MCT
bool "Exynos multi core timer driver" if COMPILE_TEST
depends on ARM || ARM64