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