Kconfig 3.2 KB

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