We are required to boot with eMMC enabled in the BIOS to store modem calibration data. Thus, it doesn't make sense to enable NVMe at boot time since we will never boot from NVMe w/o eMMC. We may as well take the boot time reduction (~100ms) by eliminating NVMe initialization. BUG=b:185426670, b:254281839 BRANCH=None TEST=Boot after disabling NVMe and make sure that it still boots Note that we are able to see a little over 100ms in boot time savings with this change. Before: 40:device configuration 824,021 (102,701) After: 40:device configuration 717,402 (44) Cq-Depend: chromium:3964185 Change-Id: I94f614ba0369c073617949285c0781aef5c6263f Signed-off-by: Shelley Chen <shchen@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68562 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
config SOC_QUALCOMM_SC7280
|
|
bool
|
|
default n
|
|
depends on USE_QC_BLOBS
|
|
select ARCH_BOOTBLOCK_ARMV8_64
|
|
select ARCH_RAMSTAGE_ARMV8_64
|
|
select ARCH_ROMSTAGE_ARMV8_64
|
|
select ARCH_VERSTAGE_ARMV8_64
|
|
select ARM64_USE_ARM_TRUSTED_FIRMWARE
|
|
select GENERIC_GPIO_LIB
|
|
select GENERIC_UDELAY
|
|
select HAVE_MONOTONIC_TIMER
|
|
select ARM64_USE_ARCH_TIMER
|
|
select SOC_QUALCOMM_COMMON
|
|
select CACHE_MRC_SETTINGS
|
|
select HAS_RECOVERY_MRC_CACHE
|
|
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
|
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
|
select HAVE_LINEAR_FRAMEBUFFER
|
|
select COMPRESS_BOOTBLOCK
|
|
select HAVE_UART_SPECIAL
|
|
|
|
if SOC_QUALCOMM_SC7280
|
|
|
|
config MEMLAYOUT_LD_FILE
|
|
string
|
|
default "src/soc/qualcomm/sc7280/memlayout.ld"
|
|
|
|
config VBOOT
|
|
select VBOOT_SEPARATE_VERSTAGE
|
|
select VBOOT_RETURN_FROM_VERSTAGE
|
|
select VBOOT_MUST_REQUEST_DISPLAY
|
|
select VBOOT_STARTS_IN_BOOTBLOCK
|
|
|
|
config SC7280_QSPI
|
|
bool
|
|
default y if COMMON_CBFS_SPI_WRAPPER
|
|
prompt "Build Flash Using SPI-NOR"
|
|
|
|
config BOOT_DEVICE_SPI_FLASH_BUS
|
|
int
|
|
default 16
|
|
|
|
config UART_FOR_CONSOLE
|
|
int
|
|
default 5
|
|
help
|
|
Select the QUP instance to be used for UART console output.
|
|
|
|
endif
|