Merge git://git.denx.de/u-boot-nand-flash
[platform/kernel/u-boot.git] / 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 config TEGRA186
58         bool "Tegra186 family"
59         select TEGRA186_GPIO
60         select TEGRA_ARMV8_COMMON
61
62 endchoice
63
64 config TEGRA_DISCONNECT_UDC_ON_BOOT
65         bool "Disconnect USB device mode controller on boot"
66         default y
67         help
68           When loading U-Boot into RAM over USB protocols using tools such as
69           tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device
70           mode controller is initialized and enumerated by the host PC running
71           the tool. Unfortunately, these tools do not shut down the USB
72           controller before executing the downloaded code, and so the host PC
73           does not "de-enumerate" the USB device. This option shuts down the
74           USB controller when U-Boot boots to avoid leaving a stale USB device
75           present.
76
77 config SYS_MALLOC_F_LEN
78         default 0x1800
79
80 source "arch/arm/mach-tegra/tegra20/Kconfig"
81 source "arch/arm/mach-tegra/tegra30/Kconfig"
82 source "arch/arm/mach-tegra/tegra114/Kconfig"
83 source "arch/arm/mach-tegra/tegra124/Kconfig"
84 source "arch/arm/mach-tegra/tegra210/Kconfig"
85 source "arch/arm/mach-tegra/tegra186/Kconfig"
86
87 endif