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>
13 lines
369 B
Plaintext
13 lines
369 B
Plaintext
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
|