Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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_PAZ00
  62. bool "Paz00 board"
  63. depends on ARCH_TEGRA_2x_SOC
  64. help
  65. Support for the Toshiba AC100/Dynabook AZ netbook
  66. config MACH_TRIMSLICE
  67. bool "TrimSlice board"
  68. depends on ARCH_TEGRA_2x_SOC
  69. select TEGRA_PCI
  70. help
  71. Support for CompuLab TrimSlice platform
  72. choice
  73. prompt "Default low-level debug console UART"
  74. default TEGRA_DEBUG_UART_NONE
  75. config TEGRA_DEBUG_UART_NONE
  76. bool "None"
  77. config TEGRA_DEBUG_UARTA
  78. bool "UART-A"
  79. config TEGRA_DEBUG_UARTB
  80. bool "UART-B"
  81. config TEGRA_DEBUG_UARTC
  82. bool "UART-C"
  83. config TEGRA_DEBUG_UARTD
  84. bool "UART-D"
  85. config TEGRA_DEBUG_UARTE
  86. bool "UART-E"
  87. endchoice
  88. choice
  89. prompt "Automatic low-level debug console UART"
  90. default TEGRA_DEBUG_UART_AUTO_NONE
  91. config TEGRA_DEBUG_UART_AUTO_NONE
  92. bool "None"
  93. config TEGRA_DEBUG_UART_AUTO_ODMDATA
  94. bool "Via ODMDATA"
  95. help
  96. Automatically determines which UART to use for low-level debug based
  97. on the ODMDATA value. This value is part of the BCT, and is written
  98. to the boot memory device using nvflash, or other flashing tool.
  99. When bits 19:18 are 3, then bits 17:15 indicate which UART to use;
  100. 0/1/2/3/4 are UART A/B/C/D/E.
  101. config TEGRA_DEBUG_UART_AUTO_SCRATCH
  102. bool "Via UART scratch register"
  103. help
  104. Automatically determines which UART to use for low-level debug based
  105. on the UART scratch register value. Some bootloaders put ASCII 'D'
  106. in this register when they initialize their own console UART output.
  107. Using this option allows the kernel to automatically pick the same
  108. UART.
  109. endchoice
  110. config TEGRA_SYSTEM_DMA
  111. bool "Enable system DMA driver for NVIDIA Tegra SoCs"
  112. default y
  113. help
  114. Adds system DMA functionality for NVIDIA Tegra SoCs, used by
  115. several Tegra device drivers
  116. config TEGRA_EMC_SCALING_ENABLE
  117. bool "Enable scaling the memory frequency"
  118. endif