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