mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 22:03:22 +09:00
![Thomas Chou](/assets/img/avatar_default.png)
Add a sandbox timer which get time from host os and a basic test. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Simon Glass <sjg@chromium.org>
27 lines
748 B
Plaintext
27 lines
748 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.
|
|
|
|
config ALTERA_TIMER
|
|
bool "Altera Timer support"
|
|
depends on TIMER
|
|
help
|
|
Select this to enable an timer for Altera devices. Please find
|
|
details on the "Embedded Peripherals IP User Guide" of Altera.
|
|
|
|
config SANDBOX_TIMER
|
|
bool "Sandbox Timer support"
|
|
depends on SANDBOX && TIMER
|
|
help
|
|
Select this to enable an emulated timer for sandbox. It gets
|
|
time from host os.
|
|
|
|
endmenu
|