From 33418b7e682f0352950579384f0cb824db741553 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 14 Nov 2025 11:59:02 +0000 Subject: [PATCH] soc/qc/x1p42100: Disable compression for peripheral firmware binaries The firmware binaries for UART, SPI, I2C, and GSI are loaded early in the boot process. Disable CBFS compression for these files by explicitly setting $(CBFS_..._compression) to 'none'. This ensures the firmware is stored and loaded as a raw binary, mitigating potential boot time impact with decompression. BUG=b:449871690 TEST=Able to save ~10ms of the boot time while booting google/quenbi. Change-Id: I0418aadeb860143e766b0fe1ba10a0316d4cc6a7 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/90040 Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) --- src/soc/qualcomm/x1p42100/Makefile.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/soc/qualcomm/x1p42100/Makefile.mk b/src/soc/qualcomm/x1p42100/Makefile.mk index ab23dde75d..0c6b9469f2 100644 --- a/src/soc/qualcomm/x1p42100/Makefile.mk +++ b/src/soc/qualcomm/x1p42100/Makefile.mk @@ -139,7 +139,7 @@ UART_FW_FILE := $(X1P42100_BLOB)/qup_fw/uart_fw.bin UART_FW_CBFS := $(CONFIG_CBFS_PREFIX)/uart_fw $(UART_FW_CBFS)-file := $(UART_FW_FILE) $(UART_FW_CBFS)-type := raw -$(UART_FW_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG) +$(UART_FW_CBFS)-compression := none cbfs-files-y += $(UART_FW_CBFS) ################################################################################ @@ -147,7 +147,7 @@ SPI_FW_FILE := $(X1P42100_BLOB)/qup_fw/spi_fw.bin SPI_FW_CBFS := $(CONFIG_CBFS_PREFIX)/spi_fw $(SPI_FW_CBFS)-file := $(SPI_FW_FILE) $(SPI_FW_CBFS)-type := raw -$(SPI_FW_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG) +$(SPI_FW_CBFS)-compression := none cbfs-files-y += $(SPI_FW_CBFS) ################################################################################ @@ -155,7 +155,7 @@ I2C_FW_FILE := $(X1P42100_BLOB)/qup_fw/i2c_fw.bin I2C_FW_CBFS := $(CONFIG_CBFS_PREFIX)/i2c_fw $(I2C_FW_CBFS)-file := $(I2C_FW_FILE) $(I2C_FW_CBFS)-type := raw -$(I2C_FW_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG) +$(I2C_FW_CBFS)-compression := none cbfs-files-y += $(I2C_FW_CBFS) ################################################################################ @@ -259,7 +259,7 @@ GSI_FW_FILE := $(X1P42100_BLOB)/qup_fw/gsi_fw.bin GSI_FW_CBFS := $(CONFIG_CBFS_PREFIX)/gsi_fw $(GSI_FW_CBFS)-file := $(GSI_FW_FILE) $(GSI_FW_CBFS)-type := raw -$(GSI_FW_CBFS)-compression := $(CBFS_COMPRESS_FLAG) +$(GSI_FW_CBFS)-compression := none cbfs-files-y += $(GSI_FW_CBFS) ################################################################################