2014-08-30 22:10:56 +00:00
|
|
|
if TEGRA
|
|
|
|
|
2015-11-23 17:32:01 +00:00
|
|
|
config TEGRA_COMMON
|
|
|
|
bool "Tegra common options"
|
2015-07-17 15:12:51 +00:00
|
|
|
select DM
|
2015-11-29 20:18:01 +00:00
|
|
|
select DM_ETH
|
2015-07-17 15:12:51 +00:00
|
|
|
select DM_GPIO
|
2015-11-23 17:32:01 +00:00
|
|
|
select DM_I2C
|
2015-10-19 03:17:16 +00:00
|
|
|
select DM_KEYBOARD
|
2015-11-20 03:27:02 +00:00
|
|
|
select DM_PCI
|
2015-11-27 02:51:30 +00:00
|
|
|
select DM_PCI_COMPAT
|
2016-01-30 23:38:01 +00:00
|
|
|
select DM_PWM
|
2015-11-23 17:32:01 +00:00
|
|
|
select DM_SERIAL
|
|
|
|
select DM_SPI
|
|
|
|
select DM_SPI_FLASH
|
|
|
|
select OF_CONTROL
|
2016-02-17 01:09:19 +00:00
|
|
|
select VIDCONSOLE_AS_LCD if DM_VIDEO
|
2015-11-23 17:32:01 +00:00
|
|
|
|
|
|
|
config TEGRA_ARMV7_COMMON
|
|
|
|
bool "Tegra 32-bit common options"
|
|
|
|
select CPU_V7
|
|
|
|
select SPL
|
|
|
|
select SUPPORT_SPL
|
|
|
|
select TEGRA_COMMON
|
2016-05-12 18:07:41 +00:00
|
|
|
select TEGRA_GPIO
|
2015-11-23 17:32:01 +00:00
|
|
|
|
|
|
|
config TEGRA_ARMV8_COMMON
|
|
|
|
bool "Tegra 64-bit common options"
|
|
|
|
select ARM64
|
|
|
|
select TEGRA_COMMON
|
2015-07-17 15:12:51 +00:00
|
|
|
|
2014-08-30 22:10:56 +00:00
|
|
|
choice
|
|
|
|
prompt "Tegra SoC select"
|
2015-05-12 19:46:23 +00:00
|
|
|
optional
|
2014-08-30 22:10:56 +00:00
|
|
|
|
|
|
|
config TEGRA20
|
|
|
|
bool "Tegra20 family"
|
2015-07-17 15:12:51 +00:00
|
|
|
select TEGRA_ARMV7_COMMON
|
2014-08-30 22:10:56 +00:00
|
|
|
|
|
|
|
config TEGRA30
|
|
|
|
bool "Tegra30 family"
|
2015-07-17 15:12:51 +00:00
|
|
|
select TEGRA_ARMV7_COMMON
|
2014-08-30 22:10:56 +00:00
|
|
|
|
|
|
|
config TEGRA114
|
|
|
|
bool "Tegra114 family"
|
2015-07-17 15:12:51 +00:00
|
|
|
select TEGRA_ARMV7_COMMON
|
2014-08-30 22:10:56 +00:00
|
|
|
|
|
|
|
config TEGRA124
|
|
|
|
bool "Tegra124 family"
|
2015-07-17 15:12:51 +00:00
|
|
|
select TEGRA_ARMV7_COMMON
|
2014-08-30 22:10:56 +00:00
|
|
|
|
2015-03-04 23:36:00 +00:00
|
|
|
config TEGRA210
|
|
|
|
bool "Tegra210 family"
|
2016-05-12 18:07:41 +00:00
|
|
|
select TEGRA_GPIO
|
2015-11-23 17:32:01 +00:00
|
|
|
select TEGRA_ARMV8_COMMON
|
2015-03-04 23:36:00 +00:00
|
|
|
|
2016-05-12 19:32:55 +00:00
|
|
|
config TEGRA186
|
|
|
|
bool "Tegra186 family"
|
2016-06-17 15:43:57 +00:00
|
|
|
select DM_MAILBOX
|
2016-05-12 19:32:55 +00:00
|
|
|
select TEGRA186_GPIO
|
|
|
|
select TEGRA_ARMV8_COMMON
|
2016-06-17 15:43:57 +00:00
|
|
|
select TEGRA_HSP
|
2016-05-12 19:32:55 +00:00
|
|
|
|
2014-08-30 22:10:56 +00:00
|
|
|
endchoice
|
|
|
|
|
2016-01-26 17:59:42 +00:00
|
|
|
config TEGRA_DISCONNECT_UDC_ON_BOOT
|
|
|
|
bool "Disconnect USB device mode controller on boot"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
When loading U-Boot into RAM over USB protocols using tools such as
|
|
|
|
tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device
|
|
|
|
mode controller is initialized and enumerated by the host PC running
|
|
|
|
the tool. Unfortunately, these tools do not shut down the USB
|
|
|
|
controller before executing the downloaded code, and so the host PC
|
|
|
|
does not "de-enumerate" the USB device. This option shuts down the
|
|
|
|
USB controller when U-Boot boots to avoid leaving a stale USB device
|
|
|
|
present.
|
|
|
|
|
2015-02-11 23:32:59 +00:00
|
|
|
config SYS_MALLOC_F_LEN
|
|
|
|
default 0x1800
|
|
|
|
|
2015-02-20 08:04:04 +00:00
|
|
|
source "arch/arm/mach-tegra/tegra20/Kconfig"
|
|
|
|
source "arch/arm/mach-tegra/tegra30/Kconfig"
|
|
|
|
source "arch/arm/mach-tegra/tegra114/Kconfig"
|
|
|
|
source "arch/arm/mach-tegra/tegra124/Kconfig"
|
2015-03-04 23:36:00 +00:00
|
|
|
source "arch/arm/mach-tegra/tegra210/Kconfig"
|
2016-05-12 19:32:55 +00:00
|
|
|
source "arch/arm/mach-tegra/tegra186/Kconfig"
|
2014-08-30 22:10:56 +00:00
|
|
|
|
|
|
|
endif
|