coreboot-kgpe-d16/src/soc/nvidia/tegra210/Kconfig

144 lines
3.1 KiB
Text
Raw Normal View History

config SOC_NVIDIA_TEGRA210
bool
default n
select ARCH_BOOTBLOCK_ARMV4
select BOOTBLOCK_CUSTOM
select ARCH_VERSTAGE_ARMV4
select ARCH_ROMSTAGE_ARMV4
select ARCH_RAMSTAGE_ARMV8_64
select BOOTBLOCK_CONSOLE
select GIC
select HAVE_MONOTONIC_TIMER
select GENERIC_UDELAY
select HAVE_UART_SPECIAL
select ARM64_USE_ARM_TRUSTED_FIRMWARE
select GENERIC_GPIO_LIB
if SOC_NVIDIA_TEGRA210
config VBOOT
select VBOOT_STARTS_IN_BOOTBLOCK
select VBOOT_SEPARATE_VERSTAGE
Kconfig: Set VBOOT_OPROM_MATTERS for relevant non-x86 devices The VBOOT_OPROM_MATTERS configuration option signals to vboot that the board can skip display initialization in the normal boot path. It's name is a left-over from a time when this could only happen by avoiding loading the VGA option ROM on x86 devices. Now we have other boards that can skip their native display initialization paths too, and the effect to vboot is the same. (Really, we should rename oprom_matters and oprom_loaded to display_skippable and display_initialized or something, but I don't think that's worth the amount of repositories this would need to touch.) The only effect this still has in today's vboot is to reboot and explicitly request display initialization for EC software sync on VBOOT_EC_SLOW_UPDATE devices (which we haven't had yet on ARM). Still, the vboot flag just declares the capability (for skipping display init), and it should be set correctly regardless of whether that actually makes a difference on a given platform (right now). This patch updates all boards/SoCs that have a conditional path based on display_init_required() accordingly. BRANCH=None BUG=chrome-os-partner:51145 TEST=Booted Oak, confirmed that there's no notable boot time impact. Change-Id: Ic7c77dbd8356d67af7aee54e7869f9ac35241b99 Signed-off-by: Martin Roth <martinroth@chromium.org> Original-Commit-Id: 9c242f7 Original-Change-Id: I75e5cdda2ba2d111ea50ed2c7cdf94322679f1cd Original-Signed-off-by: Julius Werner <jwerner@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/348786 Original-Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/15113 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Furquan Shaikh <furquan@google.com>
2016-06-01 23:53:48 +02:00
select VBOOT_OPROM_MATTERS
config MAINBOARD_DO_DSI_INIT
bool "Use dsi graphics interface"
depends on MAINBOARD_DO_NATIVE_VGA_INIT
default n
select HAVE_LINEAR_FRAMEBUFFER
help
Initialize dsi display
config MAINBOARD_DO_SOR_INIT
bool "Use dp graphics interface"
depends on MAINBOARD_DO_NATIVE_VGA_INIT
default n
select HAVE_LINEAR_FRAMEBUFFER
help
Initialize dp display
choice
prompt "Serial Console UART"
default CONSOLE_SERIAL_TEGRA210_UARTA
2015-07-02 07:09:42 +02:00
depends on CONSOLE_SERIAL
config CONSOLE_SERIAL_TEGRA210_UARTA
bool "UARTA"
help
Serial console on UART A.
config CONSOLE_SERIAL_TEGRA210_UARTB
bool "UARTB"
help
Serial console on UART B.
config CONSOLE_SERIAL_TEGRA210_UARTC
bool "UARTC"
help
Serial console on UART C.
config CONSOLE_SERIAL_TEGRA210_UARTD
bool "UARTD"
help
Serial console on UART D.
config CONSOLE_SERIAL_TEGRA210_UARTE
bool "UARTE"
help
Serial console on UART E.
endchoice
config CONSOLE_SERIAL_TEGRA210_UART_ADDRESS
hex
2015-07-02 07:09:42 +02:00
depends on CONSOLE_SERIAL
default 0x70006000 if CONSOLE_SERIAL_TEGRA210_UARTA
default 0x70006040 if CONSOLE_SERIAL_TEGRA210_UARTB
default 0x70006200 if CONSOLE_SERIAL_TEGRA210_UARTC
default 0x70006300 if CONSOLE_SERIAL_TEGRA210_UARTD
default 0x70006400 if CONSOLE_SERIAL_TEGRA210_UARTE
help
Map the UART names to the respective MMIO addres.
config BOOTROM_SDRAM_INIT
bool "SoC BootROM does SDRAM init with full BCT"
default n
help
Use during Foster LPDDR4 bringup.
config TRUSTZONE_CARVEOUT_SIZE_MB
hex "Size of Trust Zone region"
default 0x14
help
Size of Trust Zone area in MiB to reserve in memory map.
config TTB_SIZE_MB
hex "Size of TTB"
default 0x4
help
Maximum size of Translation Table Buffer in MiB.
config SEC_COMPONENT_SIZE_MB
hex "Size of resident EL3 components"
default 0x10
help
Maximum size of resident EL3 components in MiB including BL31 and
Secure OS.
# Default to 700MHz. This value is based on nv bootloader setting.
config PLLX_KHZ
int
default 700000
config HAVE_MTC
bool "Add external Memory controller Training Code binary"
default n
depends on USE_BLOBS
help
Select this option to add emc training firmware
if HAVE_MTC
config MTC_FILE
string "tegra mtc firmware filename"
default "tegra_mtc.bin"
help
The filename of the mtc firmware
config MTC_DIRECTORY
string "Directory where MTC firmware file is located"
default "."
help
Path to directory where MTC firmware file is located.
config MTC_ADDRESS
hex
default 0x81000000
help
The DRAM location where MTC firmware to be loaded in. This location
needs to be consistent with the location defined in tegra_mtc.ld
endif # HAVE_MTC
endif # SOC_NVIDIA_TEGRA210