Kconfig 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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 SANDBOX_TIMER
  49. bool "Sandbox timer support"
  50. depends on SANDBOX && TIMER
  51. help
  52. Select this to enable an emulated timer for sandbox. It gets
  53. time from host os.
  54. config X86_TSC_TIMER
  55. bool "x86 Time-Stamp Counter (TSC) timer support"
  56. depends on TIMER && X86
  57. help
  58. Select this to enable Time-Stamp Counter (TSC) timer for x86.
  59. config OMAP_TIMER
  60. bool "Omap timer support"
  61. depends on TIMER
  62. help
  63. Select this to enable an timer for Omap devices.
  64. config AST_TIMER
  65. bool "Aspeed ast2400/ast2500 timer support"
  66. depends on TIMER
  67. default y if ARCH_ASPEED
  68. help
  69. Select this to enable timer for Aspeed ast2400/ast2500 devices.
  70. This is a simple sys timer driver, it is compatible with lib/time.c,
  71. but does not support any interrupts. Even though SoC has 8 hardware
  72. counters, they are all treated as a single device by this driver.
  73. This is mostly because they all share several registers which
  74. makes it difficult to completely separate them.
  75. config STI_TIMER
  76. bool "STi timer support"
  77. depends on TIMER
  78. default y if ARCH_STI
  79. help
  80. Select this to enable a timer for STi devices.
  81. config ARC_TIMER
  82. bool "ARC timer support"
  83. depends on TIMER && ARC && CLK
  84. help
  85. Select this to enable built-in ARC timers.
  86. ARC cores may have up to 2 built-in timers: timer0 and timer1,
  87. usually at least one of them exists. Either of them is supported
  88. in U-Boot.
  89. config AG101P_TIMER
  90. bool "AG101P timer support"
  91. depends on TIMER && NDS32
  92. help
  93. Select this to enable a timer for AG01P devices.
  94. config AE3XX_TIMER
  95. bool "AE3XX timer support"
  96. depends on TIMER && NDS32
  97. help
  98. Select this to enable a timer for AE3XX devices.
  99. config ROCKCHIP_TIMER
  100. bool "Rockchip timer support"
  101. depends on TIMER
  102. help
  103. Select this to enable support for the timer found on
  104. Rockchip devices.
  105. endmenu