]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-tegra/Kconfig
616a1c3cf345cc69d8b9e75763a644af09c942e2
[u-boot] / arch / arm / mach-tegra / Kconfig
1 if TEGRA
2
3 config TEGRA_COMMON
4         bool "Tegra common options"
5         select DM
6         select DM_ETH
7         select DM_GPIO
8         select DM_I2C
9         select DM_KEYBOARD
10         select DM_PCI
11         select DM_PCI_COMPAT
12         select DM_PWM
13         select DM_SERIAL
14         select DM_SPI
15         select DM_SPI_FLASH
16         select OF_CONTROL
17         select VIDCONSOLE_AS_LCD if DM_VIDEO
18
19 config TEGRA_ARMV7_COMMON
20         bool "Tegra 32-bit common options"
21         select CPU_V7
22         select SPL
23         select SUPPORT_SPL
24         select TEGRA_COMMON
25         select TEGRA_GPIO
26
27 config TEGRA_ARMV8_COMMON
28         bool "Tegra 64-bit common options"
29         select ARM64
30         select TEGRA_COMMON
31
32 choice
33         prompt "Tegra SoC select"
34         optional
35
36 config TEGRA20
37         bool "Tegra20 family"
38         select TEGRA_ARMV7_COMMON
39
40 config TEGRA30
41         bool "Tegra30 family"
42         select TEGRA_ARMV7_COMMON
43
44 config TEGRA114
45         bool "Tegra114 family"
46         select TEGRA_ARMV7_COMMON
47
48 config TEGRA124
49         bool "Tegra124 family"
50         select TEGRA_ARMV7_COMMON
51
52 config TEGRA210
53         bool "Tegra210 family"
54         select TEGRA_GPIO
55         select TEGRA_ARMV8_COMMON
56
57 endchoice
58
59 config TEGRA_DISCONNECT_UDC_ON_BOOT
60         bool "Disconnect USB device mode controller on boot"
61         default y
62         help
63           When loading U-Boot into RAM over USB protocols using tools such as
64           tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device
65           mode controller is initialized and enumerated by the host PC running
66           the tool. Unfortunately, these tools do not shut down the USB
67           controller before executing the downloaded code, and so the host PC
68           does not "de-enumerate" the USB device. This option shuts down the
69           USB controller when U-Boot boots to avoid leaving a stale USB device
70           present.
71
72 config SYS_MALLOC_F_LEN
73         default 0x1800
74
75 source "arch/arm/mach-tegra/tegra20/Kconfig"
76 source "arch/arm/mach-tegra/tegra30/Kconfig"
77 source "arch/arm/mach-tegra/tegra114/Kconfig"
78 source "arch/arm/mach-tegra/tegra124/Kconfig"
79 source "arch/arm/mach-tegra/tegra210/Kconfig"
80
81 endif