xref: /openbmc/u-boot/drivers/timer/Kconfig (revision dadf3137)
1c8a7ba9eSThomas Choumenu "Timer Support"
2c8a7ba9eSThomas Chou
3c8a7ba9eSThomas Chouconfig TIMER
4435ae76eSBin Meng	bool "Enable driver model for timer drivers"
5c8a7ba9eSThomas Chou	depends on DM
6c8a7ba9eSThomas Chou	help
7435ae76eSBin Meng	  Enable driver model for timer access. It uses the same API as
8435ae76eSBin Meng	  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
13435ae76eSBin Meng	bool "Altera timer support"
14a54915d8SThomas Chou	depends on TIMER
15a54915d8SThomas Chou	help
16435ae76eSBin Meng	  Select this to enable a timer for Altera devices. Please find
17a54915d8SThomas Chou	  details on the "Embedded Peripherals IP User Guide" of Altera.
18a54915d8SThomas Chou
199961a0b6SThomas Chouconfig SANDBOX_TIMER
20435ae76eSBin Meng	bool "Sandbox timer support"
219961a0b6SThomas Chou	depends on SANDBOX && TIMER
229961a0b6SThomas Chou	help
239961a0b6SThomas Chou	  Select this to enable an emulated timer for sandbox. It gets
249961a0b6SThomas Chou	  time from host os.
259961a0b6SThomas Chou
267030f27eSBin Mengconfig X86_TSC_TIMER
277030f27eSBin Meng	bool "x86 Time-Stamp Counter (TSC) timer support"
287030f27eSBin Meng	depends on TIMER && X86
297030f27eSBin Meng	default y if X86
307030f27eSBin Meng	help
317030f27eSBin Meng	  Select this to enable Time-Stamp Counter (TSC) timer for x86.
327030f27eSBin Meng
33*dadf3137SMugunthan V Nconfig OMAP_TIMER
34*dadf3137SMugunthan V N	bool "Omap timer support"
35*dadf3137SMugunthan V N	depends on TIMER
36*dadf3137SMugunthan V N	help
37*dadf3137SMugunthan V N	  Select this to enable an timer for Omap devices.
38*dadf3137SMugunthan V N
39c8a7ba9eSThomas Chouendmenu
40