Kconfig 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. if ARCH_TEGRA
  2. comment "NVIDIA Tegra options"
  3. config ARCH_TEGRA_2x_SOC
  4. bool "Enable support for Tegra20 family"
  5. select CPU_V7
  6. select ARM_GIC
  7. select ARCH_REQUIRE_GPIOLIB
  8. select PINCTRL
  9. select PINCTRL_TEGRA20
  10. select USB_ARCH_HAS_EHCI if USB_SUPPORT
  11. select USB_ULPI if USB
  12. select USB_ULPI_VIEWPORT if USB_SUPPORT
  13. select ARM_ERRATA_720789
  14. select ARM_ERRATA_742230
  15. select ARM_ERRATA_751472
  16. select ARM_ERRATA_754327
  17. select ARM_ERRATA_764369
  18. select PL310_ERRATA_727915 if CACHE_L2X0
  19. select PL310_ERRATA_769419 if CACHE_L2X0
  20. select CPU_FREQ_TABLE if CPU_FREQ
  21. help
  22. Support for NVIDIA Tegra AP20 and T20 processors, based on the
  23. ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
  24. config ARCH_TEGRA_3x_SOC
  25. bool "Enable support for Tegra30 family"
  26. select CPU_V7
  27. select ARM_GIC
  28. select ARCH_REQUIRE_GPIOLIB
  29. select PINCTRL
  30. select PINCTRL_TEGRA30
  31. select USB_ARCH_HAS_EHCI if USB_SUPPORT
  32. select USB_ULPI if USB
  33. select USB_ULPI_VIEWPORT if USB_SUPPORT
  34. select USE_OF
  35. select ARM_ERRATA_743622
  36. select ARM_ERRATA_751472
  37. select ARM_ERRATA_754322
  38. select ARM_ERRATA_764369
  39. select PL310_ERRATA_769419 if CACHE_L2X0
  40. select CPU_FREQ_TABLE if CPU_FREQ
  41. help
  42. Support for NVIDIA Tegra T30 processor family, based on the
  43. ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
  44. config TEGRA_PCI
  45. bool "PCI Express support"
  46. depends on ARCH_TEGRA_2x_SOC
  47. select PCI
  48. config TEGRA_AHB
  49. bool "Enable AHB driver for NVIDIA Tegra SoCs"
  50. default y
  51. help
  52. Adds AHB configuration functionality for NVIDIA Tegra SoCs,
  53. which controls AHB bus master arbitration and some
  54. perfomance parameters(priority, prefech size).
  55. comment "Tegra board type"
  56. config MACH_HARMONY
  57. bool "Harmony board"
  58. depends on ARCH_TEGRA_2x_SOC
  59. select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
  60. help
  61. Support for nVidia Harmony development platform
  62. config MACH_KAEN
  63. bool "Kaen board"
  64. depends on ARCH_TEGRA_2x_SOC
  65. select MACH_SEABOARD
  66. select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
  67. help
  68. Support for the Kaen version of Seaboard
  69. config MACH_PAZ00
  70. bool "Paz00 board"
  71. depends on ARCH_TEGRA_2x_SOC
  72. help
  73. Support for the Toshiba AC100/Dynabook AZ netbook
  74. config MACH_SEABOARD
  75. bool "Seaboard board"
  76. depends on ARCH_TEGRA_2x_SOC
  77. select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
  78. help
  79. Support for nVidia Seaboard development platform. It will
  80. also be included for some of the derivative boards that
  81. have large similarities with the seaboard design.
  82. config MACH_TEGRA_DT
  83. bool "Generic Tegra20 board (FDT support)"
  84. depends on ARCH_TEGRA_2x_SOC
  85. select USE_OF
  86. help
  87. Support for generic NVIDIA Tegra20 boards using Flattened Device Tree
  88. config MACH_TRIMSLICE
  89. bool "TrimSlice board"
  90. depends on ARCH_TEGRA_2x_SOC
  91. select TEGRA_PCI
  92. help
  93. Support for CompuLab TrimSlice platform
  94. config MACH_WARIO
  95. bool "Wario board"
  96. depends on ARCH_TEGRA_2x_SOC
  97. select MACH_SEABOARD
  98. help
  99. Support for the Wario version of Seaboard
  100. config MACH_VENTANA
  101. bool "Ventana board"
  102. depends on ARCH_TEGRA_2x_SOC
  103. select MACH_TEGRA_DT
  104. help
  105. Support for the nVidia Ventana development platform
  106. choice
  107. prompt "Default low-level debug console UART"
  108. default TEGRA_DEBUG_UART_NONE
  109. config TEGRA_DEBUG_UART_NONE
  110. bool "None"
  111. config TEGRA_DEBUG_UARTA
  112. bool "UART-A"
  113. config TEGRA_DEBUG_UARTB
  114. bool "UART-B"
  115. config TEGRA_DEBUG_UARTC
  116. bool "UART-C"
  117. config TEGRA_DEBUG_UARTD
  118. bool "UART-D"
  119. config TEGRA_DEBUG_UARTE
  120. bool "UART-E"
  121. endchoice
  122. choice
  123. prompt "Automatic low-level debug console UART"
  124. default TEGRA_DEBUG_UART_AUTO_NONE
  125. config TEGRA_DEBUG_UART_AUTO_NONE
  126. bool "None"
  127. config TEGRA_DEBUG_UART_AUTO_ODMDATA
  128. bool "Via ODMDATA"
  129. help
  130. Automatically determines which UART to use for low-level debug based
  131. on the ODMDATA value. This value is part of the BCT, and is written
  132. to the boot memory device using nvflash, or other flashing tool.
  133. When bits 19:18 are 3, then bits 17:15 indicate which UART to use;
  134. 0/1/2/3/4 are UART A/B/C/D/E.
  135. config TEGRA_DEBUG_UART_AUTO_SCRATCH
  136. bool "Via UART scratch register"
  137. help
  138. Automatically determines which UART to use for low-level debug based
  139. on the UART scratch register value. Some bootloaders put ASCII 'D'
  140. in this register when they initialize their own console UART output.
  141. Using this option allows the kernel to automatically pick the same
  142. UART.
  143. endchoice
  144. config TEGRA_SYSTEM_DMA
  145. bool "Enable system DMA driver for NVIDIA Tegra SoCs"
  146. default y
  147. help
  148. Adds system DMA functionality for NVIDIA Tegra SoCs, used by
  149. several Tegra device drivers
  150. config TEGRA_EMC_SCALING_ENABLE
  151. bool "Enable scaling the memory frequency"
  152. endif