aboutsummaryrefslogtreecommitdiff
path: root/drivers/timer/Kconfig
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-09 13:46:34 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-10-23 07:37:03 +0800
commitc8a7ba9e6a5fe2fc7b4a7894829aa0b0148b4d40 (patch)
tree6b6ca5091a7e6927ca2c27fcec0e0b195e1a64c2 /drivers/timer/Kconfig
parentbcae80e9551bc0ba2d67e78bda57b9283b4bab12 (diff)
downloadu-boot-c8a7ba9e6a5fe2fc7b4a7894829aa0b0148b4d40.zip
u-boot-c8a7ba9e6a5fe2fc7b4a7894829aa0b0148b4d40.tar.gz
u-boot-c8a7ba9e6a5fe2fc7b4a7894829aa0b0148b4d40.tar.bz2
dm: implement a Timer uclass
Implement a Timer uclass to work with lib/time.c. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/timer/Kconfig')
-rw-r--r--drivers/timer/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
new file mode 100644
index 0000000..8e8d600
--- /dev/null
+++ b/drivers/timer/Kconfig
@@ -0,0 +1,12 @@
+menu "Timer Support"
+
+config TIMER
+ bool "Enable Driver Model for Timer drivers"
+ depends on DM
+ help
+ Enable driver model for Timer access. It uses the same API as
+ lib/time.c. But now implemented by the uclass. The first timer
+ will be used. The timer is usually a 32 bits free-running up
+ counter. There may be no real tick, and no timer interrupt.
+
+endmenu