Kconfig (4e710ebb4463c8e031eb269c012fbadb2479608b) Kconfig (97d20f69f53e7586394e48805f25f23d9a3ebaa8)
1menu "Timer Support"
2
3config TIMER
4 bool "Enable driver model for timer drivers"
5 depends on DM
6 help
7 Enable driver model for timer access. It uses the same API as
8 lib/time.c, but now implemented by the uclass. The first timer

--- 16 unchanged lines hidden (view full) ---

25 Enable support for timer drivers in TPL. These can be used to get
26 a timer value when in TPL, or perhaps for implementing a delay
27 function. This enables the drivers in drivers/timer as part of an
28 TPL build.
29
30config TIMER_EARLY
31 bool "Allow timer to be used early in U-Boot"
32 depends on TIMER
1menu "Timer Support"
2
3config TIMER
4 bool "Enable driver model for timer drivers"
5 depends on DM
6 help
7 Enable driver model for timer access. It uses the same API as
8 lib/time.c, but now implemented by the uclass. The first timer

--- 16 unchanged lines hidden (view full) ---

25 Enable support for timer drivers in TPL. These can be used to get
26 a timer value when in TPL, or perhaps for implementing a delay
27 function. This enables the drivers in drivers/timer as part of an
28 TPL build.
29
30config TIMER_EARLY
31 bool "Allow timer to be used early in U-Boot"
32 depends on TIMER
33 # initr_bootstage() requires a timer and is called before initr_dm()
34 # so only the early timer is available
35 default y if X86 && BOOTSTAGE
33 help
34 In some cases the timer must be accessible before driver model is
35 active. Examples include when using CONFIG_TRACE to trace U-Boot's
36 execution before driver model is set up. Enable this option to
37 use an early timer. These functions must be supported by your timer
38 driver: timer_early_get_count() and timer_early_get_rate().
39
40config ALTERA_TIMER

--- 110 unchanged lines hidden ---
36 help
37 In some cases the timer must be accessible before driver model is
38 active. Examples include when using CONFIG_TRACE to trace U-Boot's
39 execution before driver model is set up. Enable this option to
40 use an early timer. These functions must be supported by your timer
41 driver: timer_early_get_count() and timer_early_get_rate().
42
43config ALTERA_TIMER

--- 110 unchanged lines hidden ---