mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
clocksource/drivers/timer-atmel-pit: Rework Kconfig option
Allow building the PIT driver when COMPILE_TEST is enabled. Also remove its default value so it can be disabled. Signed-off-by: Alexandre Belloni <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
This commit is contained in:
1 parent
6275f4947e
commit
2f982703bd
1 file changed
+4
-1
@@ -399,8 +399,11 @@ config ARMV7M_SYSTICK
|
||||
This options enables support for the ARMv7M system timer unit
|
||||
|
||||
config ATMEL_PIT
|
||||
bool "Atmel PIT support" if COMPILE_TEST
|
||||
depends on HAS_IOMEM
|
||||
select TIMER_OF if OF
|
||||
def_bool SOC_AT91SAM9 || SOC_SAMA5
|
||||
help
|
||||
Support for the Periodic Interval Timer found on Atmel SoCs.
|
||||
|
||||
config ATMEL_ST
|
||||
bool "Atmel ST timer support" if COMPILE_TEST
|
||||
|
||||
Reference in new issue
Block a user