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