summaryrefslogtreecommitdiff
path: root/drivers/timer/Kconfig
diff options
context:
space:
mode:
authorEugen Hristev <[email protected]>2022-04-04 11:35:51 +0300
committerEugen Hristev <[email protected]>2022-04-26 09:54:41 +0300
commit632422d4b333f3580b9fd28c424ff728ed3d3bad (patch)
tree21ec5f6bac9728376e77aeeefdc740af5a0cc950 /drivers/timer/Kconfig
parente135d2c2f385fc1cefcea64cf775c6f0267945a2 (diff)
timers: atmel_pit: introduce CONFIG_SPL_ATMEL_PIT_TIMER
This commit allows the ATMEL_PIT_TIMER driver to be unselected in SPL and be selected in u-boot proper. The SPL can use a different timer. By having a separate Kconfig for ATMEL_TCB in SPL, the size of the SPL decreases by 0.3 KBytes. Signed-off-by: Eugen Hristev <[email protected]>
Diffstat (limited to 'drivers/timer/Kconfig')
-rw-r--r--drivers/timer/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index 68e90b8660b..92050179c28 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -90,6 +90,15 @@ config ATMEL_PIT_TIMER
it is designed to offer maximum accuracy and efficient management,
even for systems with long response time.
+config SPL_ATMEL_PIT_TIMER
+ bool "Atmel periodic interval timer support in SPL"
+ depends on SPL_TIMER
+ help
+ Select this to enable a periodic interval timer for Atmel devices,
+ it is designed to offer maximum accuracy and efficient management,
+ even for systems with long response time.
+ Select this to be available in SPL.
+
config ATMEL_TCB_TIMER
bool "Atmel timer counter support"
depends on TIMER