xref: /rk3399_rockchip-uboot/arch/arm/mach-tegra/Kconfig (revision 601800be22a37cc518e023adc8e32ad15f00a2c6)
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
57endchoice
58
59config TEGRA_DISCONNECT_UDC_ON_BOOT
60	bool "Disconnect USB device mode controller on boot"
61	default y
62	help
63	  When loading U-Boot into RAM over USB protocols using tools such as
64	  tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device
65	  mode controller is initialized and enumerated by the host PC running
66	  the tool. Unfortunately, these tools do not shut down the USB
67	  controller before executing the downloaded code, and so the host PC
68	  does not "de-enumerate" the USB device. This option shuts down the
69	  USB controller when U-Boot boots to avoid leaving a stale USB device
70	  present.
71
72config SYS_MALLOC_F_LEN
73	default 0x1800
74
75source "arch/arm/mach-tegra/tegra20/Kconfig"
76source "arch/arm/mach-tegra/tegra30/Kconfig"
77source "arch/arm/mach-tegra/tegra114/Kconfig"
78source "arch/arm/mach-tegra/tegra124/Kconfig"
79source "arch/arm/mach-tegra/tegra210/Kconfig"
80
81endif
82