xref: /openbmc/u-boot/arch/arm/mach-tegra/Kconfig (revision 2e33df80)
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
26config TEGRA_ARMV8_COMMON
27	bool "Tegra 64-bit common options"
28	select ARM64
29	select TEGRA_COMMON
30
31choice
32	prompt "Tegra SoC select"
33	optional
34
35config TEGRA20
36	bool "Tegra20 family"
37	select TEGRA_ARMV7_COMMON
38
39config TEGRA30
40	bool "Tegra30 family"
41	select TEGRA_ARMV7_COMMON
42
43config TEGRA114
44	bool "Tegra114 family"
45	select TEGRA_ARMV7_COMMON
46
47config TEGRA124
48	bool "Tegra124 family"
49	select TEGRA_ARMV7_COMMON
50
51config TEGRA210
52	bool "Tegra210 family"
53	select TEGRA_ARMV8_COMMON
54
55endchoice
56
57config TEGRA_DISCONNECT_UDC_ON_BOOT
58	bool "Disconnect USB device mode controller on boot"
59	default y
60	help
61	  When loading U-Boot into RAM over USB protocols using tools such as
62	  tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device
63	  mode controller is initialized and enumerated by the host PC running
64	  the tool. Unfortunately, these tools do not shut down the USB
65	  controller before executing the downloaded code, and so the host PC
66	  does not "de-enumerate" the USB device. This option shuts down the
67	  USB controller when U-Boot boots to avoid leaving a stale USB device
68	  present.
69
70config SYS_MALLOC_F_LEN
71	default 0x1800
72
73source "arch/arm/mach-tegra/tegra20/Kconfig"
74source "arch/arm/mach-tegra/tegra30/Kconfig"
75source "arch/arm/mach-tegra/tegra114/Kconfig"
76source "arch/arm/mach-tegra/tegra124/Kconfig"
77source "arch/arm/mach-tegra/tegra210/Kconfig"
78
79endif
80