mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 02:20:25 +00:00
a54915d8a1
Convert altera timer to driver model. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Chin Liang See <clsee@altera.com>
19 lines
575 B
Text
19 lines
575 B
Text
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.
|
|
|
|
endmenu
|