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