Kconfig 2.5 KB
Newer Older
1 2
if TEGRA

3 4 5
config SPL_GPIO_SUPPORT
	default y

6 7 8
config SPL_LIBCOMMON_SUPPORT
	default y

9 10 11
config SPL_LIBGENERIC_SUPPORT
	default y

12 13 14 15 16 17 18 19
config TEGRA_IVC
	bool "Tegra IVC protocol"
	help
	  IVC (Inter-VM Communication) protocol is a Tegra-specific IPC
	  (Inter Processor Communication) framework. Within the context of
	  U-Boot, it is typically used for communication between the main CPU
	  and various auxiliary processors.

20 21
config TEGRA_COMMON
	bool "Tegra common options"
22
	select DM
23
	select DM_ETH
24
	select DM_GPIO
25
	select DM_I2C
26
	select DM_KEYBOARD
27
	select DM_PCI
28
	select DM_PCI_COMPAT
29
	select DM_PWM
30 31 32 33
	select DM_SERIAL
	select DM_SPI
	select DM_SPI_FLASH
	select OF_CONTROL
34
	select VIDCONSOLE_AS_LCD if DM_VIDEO
35 36 37 38 39 40 41

config TEGRA_ARMV7_COMMON
	bool "Tegra 32-bit common options"
	select CPU_V7
	select SPL
	select SUPPORT_SPL
	select TEGRA_COMMON
42
	select TEGRA_GPIO
43 44 45 46 47

config TEGRA_ARMV8_COMMON
	bool "Tegra 64-bit common options"
	select ARM64
	select TEGRA_COMMON
48

49 50
choice
	prompt "Tegra SoC select"
51
	optional
52 53 54

config TEGRA20
	bool "Tegra20 family"
55
	select TEGRA_ARMV7_COMMON
56 57 58

config TEGRA30
	bool "Tegra30 family"
59
	select TEGRA_ARMV7_COMMON
60 61 62

config TEGRA114
	bool "Tegra114 family"
63
	select TEGRA_ARMV7_COMMON
64 65 66

config TEGRA124
	bool "Tegra124 family"
67
	select TEGRA_ARMV7_COMMON
68

69 70
config TEGRA210
	bool "Tegra210 family"
71
	select TEGRA_GPIO
72
	select TEGRA_ARMV8_COMMON
73

74 75
config TEGRA186
	bool "Tegra186 family"
76
	select CLK
77
	select DM_MAILBOX
78
	select DM_RESET
Stephen Warren's avatar
Stephen Warren committed
79 80
	select MISC
	select TEGRA186_BPMP
81
	select TEGRA186_CLOCK
82
	select TEGRA186_GPIO
83
	select TEGRA186_RESET
84
	select TEGRA_ARMV8_COMMON
85
	select TEGRA_HSP
86
	select TEGRA_IVC
87

88 89
endchoice

90 91 92 93 94 95 96 97 98 99 100 101 102
config TEGRA_DISCONNECT_UDC_ON_BOOT
	bool "Disconnect USB device mode controller on boot"
	default y
	help
	  When loading U-Boot into RAM over USB protocols using tools such as
	  tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device
	  mode controller is initialized and enumerated by the host PC running
	  the tool. Unfortunately, these tools do not shut down the USB
	  controller before executing the downloaded code, and so the host PC
	  does not "de-enumerate" the USB device. This option shuts down the
	  USB controller when U-Boot boots to avoid leaving a stale USB device
	  present.

103 104 105
config SYS_MALLOC_F_LEN
	default 0x1800

106 107 108 109
source "arch/arm/mach-tegra/tegra20/Kconfig"
source "arch/arm/mach-tegra/tegra30/Kconfig"
source "arch/arm/mach-tegra/tegra114/Kconfig"
source "arch/arm/mach-tegra/tegra124/Kconfig"
110
source "arch/arm/mach-tegra/tegra210/Kconfig"
111
source "arch/arm/mach-tegra/tegra186/Kconfig"
112 113

endif