Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. menu "Timer Support"
  2. config TIMER
  3. bool "Enable driver model for timer drivers"
  4. depends on DM
  5. help
  6. Enable driver model for timer access. It uses the same API as
  7. lib/time.c, but now implemented by the uclass. The first timer
  8. will be used. The timer is usually a 32 bits free-running up
  9. counter. There may be no real tick, and no timer interrupt.
  10. config SPL_TIMER
  11. bool "Enable driver model for timer drivers in SPL"
  12. depends on TIMER && SPL
  13. help
  14. Enable support for timer drivers in SPL. These can be used to get
  15. a timer value when in SPL, or perhaps for implementing a delay
  16. function. This enables the drivers in drivers/timer as part of an
  17. SPL build.
  18. config TPL_TIMER
  19. bool "Enable driver model for timer drivers in TPL"
  20. depends on TIMER && TPL
  21. help
  22. Enable support for timer drivers in TPL. These can be used to get
  23. a timer value when in TPL, or perhaps for implementing a delay
  24. function. This enables the drivers in drivers/timer as part of an
  25. TPL build.
  26. config TIMER_EARLY
  27. bool "Allow timer to be used early in U-Boot"
  28. depends on TIMER
  29. help
  30. In some cases the timer must be accessible before driver model is
  31. active. Examples include when using CONFIG_TRACE to trace U-Boot's
  32. execution before driver model is set up. Enable this option to
  33. use an early timer. These functions must be supported by your timer
  34. driver: timer_early_get_count() and timer_early_get_rate().
  35. config ALTERA_TIMER
  36. bool "Altera timer support"
  37. depends on TIMER
  38. help
  39. Select this to enable a timer for Altera devices. Please find
  40. details on the "Embedded Peripherals IP User Guide" of Altera.
  41. config ATMEL_PIT_TIMER
  42. bool "Atmel periodic interval timer support"
  43. depends on TIMER
  44. help
  45. Select this to enable a periodic interval timer for Atmel devices,
  46. it is designed to offer maximum accuracy and efficient management,
  47. even for systems with long response time.
  48. config CADENCE_TTC_TIMER
  49. bool "Cadence TTC (Triple Timer Counter)"
  50. depends on TIMER
  51. help
  52. Enables support for the cadence ttc driver. This driver is present
  53. on Xilinx Zynq and ZynqMP SoCs.
  54. config SANDBOX_TIMER
  55. bool "Sandbox timer support"
  56. depends on SANDBOX && TIMER
  57. help
  58. Select this to enable an emulated timer for sandbox. It gets
  59. time from host os.
  60. config X86_TSC_TIMER
  61. bool "x86 Time-Stamp Counter (TSC) timer support"
  62. depends on TIMER && X86
  63. help
  64. Select this to enable Time-Stamp Counter (TSC) timer for x86.
  65. config OMAP_TIMER
  66. bool "Omap timer support"
  67. depends on TIMER
  68. help
  69. Select this to enable an timer for Omap devices.
  70. config AST_TIMER
  71. bool "Aspeed ast2400/ast2500 timer support"
  72. depends on TIMER
  73. default y if ARCH_ASPEED
  74. help
  75. Select this to enable timer for Aspeed ast2400/ast2500 devices.
  76. This is a simple sys timer driver, it is compatible with lib/time.c,
  77. but does not support any interrupts. Even though SoC has 8 hardware
  78. counters, they are all treated as a single device by this driver.
  79. This is mostly because they all share several registers which
  80. makes it difficult to completely separate them.
  81. config STI_TIMER
  82. bool "STi timer support"
  83. depends on TIMER
  84. default y if ARCH_STI
  85. help
  86. Select this to enable a timer for STi devices.
  87. config ARC_TIMER
  88. bool "ARC timer support"
  89. depends on TIMER && ARC && CLK
  90. help
  91. Select this to enable built-in ARC timers.
  92. ARC cores may have up to 2 built-in timers: timer0 and timer1,
  93. usually at least one of them exists. Either of them is supported
  94. in U-Boot.
  95. config AG101P_TIMER
  96. bool "AG101P timer support"
  97. depends on TIMER && NDS32
  98. help
  99. Select this to enable a timer for AG01P devices.
  100. config ATCPIT100_TIMER
  101. bool "ATCPIT100 timer support"
  102. depends on TIMER
  103. help
  104. Select this to enable a ATCPIT100 timer which will be embeded
  105. in AE3XX, AE250 boards.
  106. config ROCKCHIP_TIMER
  107. bool "Rockchip timer support"
  108. depends on TIMER
  109. help
  110. Select this to enable support for the timer found on
  111. Rockchip devices.
  112. config STM32_TIMER
  113. bool "STM32 timer support"
  114. depends on TIMER
  115. help
  116. Select this to enable support for the timer found on
  117. STM32 devices.
  118. endmenu