Kconfig 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. help
  60. Support for nVidia Harmony development platform
  61. config MACH_KAEN
  62. bool "Kaen board"
  63. depends on ARCH_TEGRA_2x_SOC
  64. select MACH_SEABOARD
  65. help
  66. Support for the Kaen version of Seaboard
  67. config MACH_PAZ00
  68. bool "Paz00 board"
  69. depends on ARCH_TEGRA_2x_SOC
  70. help
  71. Support for the Toshiba AC100/Dynabook AZ netbook
  72. config MACH_SEABOARD
  73. bool "Seaboard board"
  74. depends on ARCH_TEGRA_2x_SOC
  75. help
  76. Support for nVidia Seaboard development platform. It will
  77. also be included for some of the derivative boards that
  78. have large similarities with the seaboard design.
  79. config MACH_TRIMSLICE
  80. bool "TrimSlice board"
  81. depends on ARCH_TEGRA_2x_SOC
  82. select TEGRA_PCI
  83. help
  84. Support for CompuLab TrimSlice platform
  85. config MACH_WARIO
  86. bool "Wario board"
  87. depends on ARCH_TEGRA_2x_SOC
  88. select MACH_SEABOARD
  89. help
  90. Support for the Wario version of Seaboard
  91. choice
  92. prompt "Default low-level debug console UART"
  93. default TEGRA_DEBUG_UART_NONE
  94. config TEGRA_DEBUG_UART_NONE
  95. bool "None"
  96. config TEGRA_DEBUG_UARTA
  97. bool "UART-A"
  98. config TEGRA_DEBUG_UARTB
  99. bool "UART-B"
  100. config TEGRA_DEBUG_UARTC
  101. bool "UART-C"
  102. config TEGRA_DEBUG_UARTD
  103. bool "UART-D"
  104. config TEGRA_DEBUG_UARTE
  105. bool "UART-E"
  106. endchoice
  107. choice
  108. prompt "Automatic low-level debug console UART"
  109. default TEGRA_DEBUG_UART_AUTO_NONE
  110. config TEGRA_DEBUG_UART_AUTO_NONE
  111. bool "None"
  112. config TEGRA_DEBUG_UART_AUTO_ODMDATA
  113. bool "Via ODMDATA"
  114. help
  115. Automatically determines which UART to use for low-level debug based
  116. on the ODMDATA value. This value is part of the BCT, and is written
  117. to the boot memory device using nvflash, or other flashing tool.
  118. When bits 19:18 are 3, then bits 17:15 indicate which UART to use;
  119. 0/1/2/3/4 are UART A/B/C/D/E.
  120. config TEGRA_DEBUG_UART_AUTO_SCRATCH
  121. bool "Via UART scratch register"
  122. help
  123. Automatically determines which UART to use for low-level debug based
  124. on the UART scratch register value. Some bootloaders put ASCII 'D'
  125. in this register when they initialize their own console UART output.
  126. Using this option allows the kernel to automatically pick the same
  127. UART.
  128. endchoice
  129. config TEGRA_SYSTEM_DMA
  130. bool "Enable system DMA driver for NVIDIA Tegra SoCs"
  131. default y
  132. help
  133. Adds system DMA functionality for NVIDIA Tegra SoCs, used by
  134. several Tegra device drivers
  135. config TEGRA_EMC_SCALING_ENABLE
  136. bool "Enable scaling the memory frequency"
  137. endif