xref: /openbmc/u-boot/arch/arm/mach-tegra/Kconfig (revision 473af36a)
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 DM_MAILBOX
68	select TEGRA186_GPIO
69	select TEGRA_ARMV8_COMMON
70	select TEGRA_HSP
71	select TEGRA_IVC
72
73endchoice
74
75config TEGRA_DISCONNECT_UDC_ON_BOOT
76	bool "Disconnect USB device mode controller on boot"
77	default y
78	help
79	  When loading U-Boot into RAM over USB protocols using tools such as
80	  tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device
81	  mode controller is initialized and enumerated by the host PC running
82	  the tool. Unfortunately, these tools do not shut down the USB
83	  controller before executing the downloaded code, and so the host PC
84	  does not "de-enumerate" the USB device. This option shuts down the
85	  USB controller when U-Boot boots to avoid leaving a stale USB device
86	  present.
87
88config SYS_MALLOC_F_LEN
89	default 0x1800
90
91source "arch/arm/mach-tegra/tegra20/Kconfig"
92source "arch/arm/mach-tegra/tegra30/Kconfig"
93source "arch/arm/mach-tegra/tegra114/Kconfig"
94source "arch/arm/mach-tegra/tegra124/Kconfig"
95source "arch/arm/mach-tegra/tegra210/Kconfig"
96source "arch/arm/mach-tegra/tegra186/Kconfig"
97
98endif
99