Kconfig 2.42 KB
Newer Older
1 2
if TEGRA

3 4 5
config SPL_GPIO_SUPPORT
	default y

6 7 8 9 10 11 12 13
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.

14 15
config TEGRA_COMMON
	bool "Tegra common options"
16
	select DM
17
	select DM_ETH
18
	select DM_GPIO
19
	select DM_I2C
20
	select DM_KEYBOARD
21
	select DM_PCI
22
	select DM_PCI_COMPAT
23
	select DM_PWM
24 25 26 27
	select DM_SERIAL
	select DM_SPI
	select DM_SPI_FLASH
	select OF_CONTROL
28
	select VIDCONSOLE_AS_LCD if DM_VIDEO
29 30 31 32 33 34 35

config TEGRA_ARMV7_COMMON
	bool "Tegra 32-bit common options"
	select CPU_V7
	select SPL
	select SUPPORT_SPL
	select TEGRA_COMMON
36
	select TEGRA_GPIO
37 38 39 40 41

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

43 44
choice
	prompt "Tegra SoC select"
45
	optional
46 47 48

config TEGRA20
	bool "Tegra20 family"
49
	select TEGRA_ARMV7_COMMON
50 51 52

config TEGRA30
	bool "Tegra30 family"
53
	select TEGRA_ARMV7_COMMON
54 55 56

config TEGRA114
	bool "Tegra114 family"
57
	select TEGRA_ARMV7_COMMON
58 59 60

config TEGRA124
	bool "Tegra124 family"
61
	select TEGRA_ARMV7_COMMON
62

63 64
config TEGRA210
	bool "Tegra210 family"
65
	select TEGRA_GPIO
66
	select TEGRA_ARMV8_COMMON
67

68 69
config TEGRA186
	bool "Tegra186 family"
70
	select CLK
71
	select DM_MAILBOX
72
	select DM_RESET
Stephen Warren's avatar
Stephen Warren committed
73 74
	select MISC
	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

82 83
endchoice

84 85 86 87 88 89 90 91 92 93 94 95 96
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.

97 98 99
config SYS_MALLOC_F_LEN
	default 0x1800

100 101 102 103
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"
104
source "arch/arm/mach-tegra/tegra210/Kconfig"
105
source "arch/arm/mach-tegra/tegra186/Kconfig"
106 107

endif