2015-10-09 05:46:34 +00:00
|
|
|
menu "Timer Support"
|
|
|
|
|
|
|
|
config TIMER
|
2015-11-13 08:11:14 +00:00
|
|
|
bool "Enable driver model for timer drivers"
|
2015-10-09 05:46:34 +00:00
|
|
|
depends on DM
|
|
|
|
help
|
2015-11-13 08:11:14 +00:00
|
|
|
Enable driver model for timer access. It uses the same API as
|
|
|
|
lib/time.c, but now implemented by the uclass. The first timer
|
2015-10-09 05:46:34 +00:00
|
|
|
will be used. The timer is usually a 32 bits free-running up
|
|
|
|
counter. There may be no real tick, and no timer interrupt.
|
|
|
|
|
2016-02-24 16:14:49 +00:00
|
|
|
config TIMER_EARLY
|
|
|
|
bool "Allow timer to be used early in U-Boot"
|
|
|
|
depends on TIMER
|
|
|
|
help
|
|
|
|
In some cases the timer must be accessible before driver model is
|
|
|
|
active. Examples include when using CONFIG_TRACE to trace U-Boot's
|
|
|
|
execution before driver model is set up. Enable this option to
|
|
|
|
use an early timer. These functions must be supported by your timer
|
|
|
|
driver: timer_early_get_count() and timer_early_get_rate().
|
|
|
|
|
2015-10-22 14:28:53 +00:00
|
|
|
config ALTERA_TIMER
|
2015-11-13 08:11:14 +00:00
|
|
|
bool "Altera timer support"
|
2015-10-22 14:28:53 +00:00
|
|
|
depends on TIMER
|
|
|
|
help
|
2015-11-13 08:11:14 +00:00
|
|
|
Select this to enable a timer for Altera devices. Please find
|
2015-10-22 14:28:53 +00:00
|
|
|
details on the "Embedded Peripherals IP User Guide" of Altera.
|
|
|
|
|
2015-10-30 07:35:52 +00:00
|
|
|
config SANDBOX_TIMER
|
2015-11-13 08:11:14 +00:00
|
|
|
bool "Sandbox timer support"
|
2015-10-30 07:35:52 +00:00
|
|
|
depends on SANDBOX && TIMER
|
|
|
|
help
|
|
|
|
Select this to enable an emulated timer for sandbox. It gets
|
|
|
|
time from host os.
|
|
|
|
|
2015-11-13 08:11:24 +00:00
|
|
|
config X86_TSC_TIMER
|
|
|
|
bool "x86 Time-Stamp Counter (TSC) timer support"
|
|
|
|
depends on TIMER && X86
|
|
|
|
default y if X86
|
|
|
|
help
|
|
|
|
Select this to enable Time-Stamp Counter (TSC) timer for x86.
|
|
|
|
|
2015-12-24 10:38:07 +00:00
|
|
|
config OMAP_TIMER
|
|
|
|
bool "Omap timer support"
|
|
|
|
depends on TIMER
|
|
|
|
help
|
|
|
|
Select this to enable an timer for Omap devices.
|
|
|
|
|
2017-01-18 21:44:55 +00:00
|
|
|
config AST_TIMER
|
|
|
|
bool "Aspeed ast2400/ast2500 timer support"
|
|
|
|
depends on TIMER
|
|
|
|
default y if ARCH_ASPEED
|
|
|
|
help
|
|
|
|
Select this to enable timer for Aspeed ast2400/ast2500 devices.
|
|
|
|
This is a simple sys timer driver, it is compatible with lib/time.c,
|
|
|
|
but does not support any interrupts. Even though SoC has 8 hardware
|
|
|
|
counters, they are all treated as a single device by this driver.
|
|
|
|
This is mostly because they all share several registers which
|
|
|
|
makes it difficult to completely separate them.
|
|
|
|
|
2015-10-09 05:46:34 +00:00
|
|
|
endmenu
|