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