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