xref: /openbmc/u-boot/drivers/timer/Kconfig (revision 9961a0b6)
1c8a7ba9eSThomas Choumenu "Timer Support"
2c8a7ba9eSThomas Chou
3c8a7ba9eSThomas Chouconfig TIMER
4c8a7ba9eSThomas Chou	bool "Enable Driver Model for Timer drivers"
5c8a7ba9eSThomas Chou	depends on DM
6c8a7ba9eSThomas Chou	help
7c8a7ba9eSThomas Chou	  Enable driver model for Timer access. It uses the same API as
8c8a7ba9eSThomas Chou	  lib/time.c. But now implemented by the uclass. The first timer
9c8a7ba9eSThomas Chou	  will be used. The timer is usually a 32 bits free-running up
10c8a7ba9eSThomas Chou	  counter. There may be no real tick, and no timer interrupt.
11c8a7ba9eSThomas Chou
12a54915d8SThomas Chouconfig ALTERA_TIMER
13a54915d8SThomas Chou	bool "Altera Timer support"
14a54915d8SThomas Chou	depends on TIMER
15a54915d8SThomas Chou	help
16a54915d8SThomas Chou	  Select this to enable an timer for Altera devices. Please find
17a54915d8SThomas Chou	  details on the "Embedded Peripherals IP User Guide" of Altera.
18a54915d8SThomas Chou
19*9961a0b6SThomas Chouconfig SANDBOX_TIMER
20*9961a0b6SThomas Chou	bool "Sandbox Timer support"
21*9961a0b6SThomas Chou	depends on SANDBOX && TIMER
22*9961a0b6SThomas Chou	help
23*9961a0b6SThomas Chou	  Select this to enable an emulated timer for sandbox. It gets
24*9961a0b6SThomas Chou	  time from host os.
25*9961a0b6SThomas Chou
26c8a7ba9eSThomas Chouendmenu
27