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