From c8a7ba9e6a5fe2fc7b4a7894829aa0b0148b4d40 Mon Sep 17 00:00:00 2001 From: Thomas Chou Date: Fri, 9 Oct 2015 13:46:34 +0800 Subject: dm: implement a Timer uclass Implement a Timer uclass to work with lib/time.c. Signed-off-by: Thomas Chou Acked-by: Simon Glass --- drivers/timer/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 drivers/timer/Kconfig (limited to 'drivers/timer/Kconfig') diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig new file mode 100644 index 00000000000..8e8d6006b01 --- /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 -- cgit v1.2.3