Kconfig 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. if TEGRA
  2. config SPL_GPIO_SUPPORT
  3. default y
  4. config SPL_LIBCOMMON_SUPPORT
  5. default y
  6. config SPL_LIBGENERIC_SUPPORT
  7. default y
  8. config SPL_SERIAL_SUPPORT
  9. default y
  10. config TEGRA_IVC
  11. bool "Tegra IVC protocol"
  12. help
  13. IVC (Inter-VM Communication) protocol is a Tegra-specific IPC
  14. (Inter Processor Communication) framework. Within the context of
  15. U-Boot, it is typically used for communication between the main CPU
  16. and various auxiliary processors.
  17. config TEGRA_COMMON
  18. bool "Tegra common options"
  19. select CLK
  20. select DM
  21. select DM_ETH
  22. select DM_GPIO
  23. select DM_I2C
  24. select DM_KEYBOARD
  25. select DM_MMC
  26. select DM_PWM
  27. select DM_RESET
  28. select DM_SERIAL
  29. select DM_SPI
  30. select DM_SPI_FLASH
  31. select MISC
  32. select OF_CONTROL
  33. select VIDCONSOLE_AS_LCD if DM_VIDEO
  34. config TEGRA_NO_BPMP
  35. bool "Tegra common options for SoCs without BPMP"
  36. select TEGRA_CAR
  37. select TEGRA_CAR_CLOCK
  38. select TEGRA_CAR_RESET
  39. config TEGRA_ARMV7_COMMON
  40. bool "Tegra 32-bit common options"
  41. select CPU_V7
  42. select SPL
  43. select SUPPORT_SPL
  44. select TEGRA_COMMON
  45. select TEGRA_GPIO
  46. select TEGRA_NO_BPMP
  47. config TEGRA_ARMV8_COMMON
  48. bool "Tegra 64-bit common options"
  49. select ARM64
  50. select TEGRA_COMMON
  51. choice
  52. prompt "Tegra SoC select"
  53. optional
  54. config TEGRA20
  55. bool "Tegra20 family"
  56. select TEGRA_ARMV7_COMMON
  57. config TEGRA30
  58. bool "Tegra30 family"
  59. select TEGRA_ARMV7_COMMON
  60. config TEGRA114
  61. bool "Tegra114 family"
  62. select TEGRA_ARMV7_COMMON
  63. config TEGRA124
  64. bool "Tegra124 family"
  65. select TEGRA_ARMV7_COMMON
  66. config TEGRA210
  67. bool "Tegra210 family"
  68. select TEGRA_GPIO
  69. select TEGRA_ARMV8_COMMON
  70. select TEGRA_NO_BPMP
  71. config TEGRA186
  72. bool "Tegra186 family"
  73. select DM_MAILBOX
  74. select TEGRA186_BPMP
  75. select TEGRA186_CLOCK
  76. select TEGRA186_GPIO
  77. select TEGRA186_RESET
  78. select TEGRA_ARMV8_COMMON
  79. select TEGRA_HSP
  80. select TEGRA_IVC
  81. endchoice
  82. config TEGRA_DISCONNECT_UDC_ON_BOOT
  83. bool "Disconnect USB device mode controller on boot"
  84. default y
  85. help
  86. When loading U-Boot into RAM over USB protocols using tools such as
  87. tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device
  88. mode controller is initialized and enumerated by the host PC running
  89. the tool. Unfortunately, these tools do not shut down the USB
  90. controller before executing the downloaded code, and so the host PC
  91. does not "de-enumerate" the USB device. This option shuts down the
  92. USB controller when U-Boot boots to avoid leaving a stale USB device
  93. present.
  94. config SYS_MALLOC_F_LEN
  95. default 0x1800
  96. source "arch/arm/mach-tegra/tegra20/Kconfig"
  97. source "arch/arm/mach-tegra/tegra30/Kconfig"
  98. source "arch/arm/mach-tegra/tegra114/Kconfig"
  99. source "arch/arm/mach-tegra/tegra124/Kconfig"
  100. source "arch/arm/mach-tegra/tegra210/Kconfig"
  101. source "arch/arm/mach-tegra/tegra186/Kconfig"
  102. endif