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