mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 08:20:59 +02:00
don't compress alderlake fsp
for reproducibility, we must not compress it Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
From b5898dacf4306ff8a436cc02e664144bfb2cf52b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Leah Rowe <leah@libreboot.org>
|
||||||
|
Date: Sat, 4 Oct 2025 21:57:43 +0100
|
||||||
|
Subject: [PATCH 1/1] soc/intel/alderlake: Don't compress FSP-S
|
||||||
|
|
||||||
|
Build systems like lbmk need to reproducibly insert
|
||||||
|
certain vendor files on release images.
|
||||||
|
|
||||||
|
Compression isn't always reproducible, and making it
|
||||||
|
so costs a lot more time than simply disabling compression.
|
||||||
|
|
||||||
|
With this change, FSP-S uses slightly more space inside
|
||||||
|
the flash, but it's not that much.
|
||||||
|
|
||||||
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
||||||
|
---
|
||||||
|
src/soc/intel/alderlake/Kconfig | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig
|
||||||
|
index 739faa3808..1f6a1dca7d 100644
|
||||||
|
--- a/src/soc/intel/alderlake/Kconfig
|
||||||
|
+++ b/src/soc/intel/alderlake/Kconfig
|
||||||
|
@@ -14,7 +14,7 @@ config SOC_INTEL_ALDERLAKE
|
||||||
|
select DISPLAY_FSP_VERSION_INFO
|
||||||
|
select DRIVERS_USB_ACPI
|
||||||
|
select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2
|
||||||
|
- select FSP_COMPRESS_FSP_S_LZ4
|
||||||
|
+# select FSP_COMPRESS_FSP_S_LZ4
|
||||||
|
select FAST_SPI_SUPPORTS_EXT_BIOS_WINDOW
|
||||||
|
select FSP_M_XIP
|
||||||
|
select FSP_MULTIPHASE_SI_INIT_RETURN_BROKEN
|
||||||
|
--
|
||||||
|
2.47.3
|
||||||
|
|
||||||
@@ -628,7 +628,6 @@ CONFIG_FSP_M_CBFS="fspm.bin"
|
|||||||
CONFIG_FSP_T_RESERVED_SIZE=0x0
|
CONFIG_FSP_T_RESERVED_SIZE=0x0
|
||||||
CONFIG_FSP_M_XIP=y
|
CONFIG_FSP_M_XIP=y
|
||||||
CONFIG_FSP_USES_CB_STACK=y
|
CONFIG_FSP_USES_CB_STACK=y
|
||||||
CONFIG_FSP_COMPRESS_FSP_S_LZ4=y
|
|
||||||
CONFIG_SOC_INTEL_COMMON_FSP_RESET=y
|
CONFIG_SOC_INTEL_COMMON_FSP_RESET=y
|
||||||
CONFIG_FSPS_HAS_ARCH_UPD=y
|
CONFIG_FSPS_HAS_ARCH_UPD=y
|
||||||
CONFIG_FSPS_USE_MULTI_PHASE_INIT=y
|
CONFIG_FSPS_USE_MULTI_PHASE_INIT=y
|
||||||
|
|||||||
Reference in New Issue
Block a user