summaryrefslogtreecommitdiff
path: root/config/coreboot/default/patches/0023-Disable-compression-on-refcode-insertion.patch
blob: 1205b3bfaffcd8399f45d03c3ef59457d67665df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 8f5399ac24599f6d0f1912d46f253a91d67536cf Mon Sep 17 00:00:00 2001
From: Leah Rowe <info@minifree.org>
Date: Tue, 31 Dec 2024 14:42:24 +0000
Subject: [PATCH 23/51] Disable compression on refcode insertion

Compression is not reliably reproducible. In an lbmk release
context, this means we cannot rely on vendorfile insertion.

Therefore, use uncompressed refcode.

Signed-off-by: Leah Rowe <info@minifree.org>
---
 Makefile.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.mk b/Makefile.mk
index dbad313911..8f541ad187 100644
--- a/Makefile.mk
+++ b/Makefile.mk
@@ -1432,7 +1432,7 @@ endif
 cbfs-files-$(CONFIG_HAVE_REFCODE_BLOB) += $(CONFIG_CBFS_PREFIX)/refcode
 $(CONFIG_CBFS_PREFIX)/refcode-file := $(REFCODE_BLOB)
 $(CONFIG_CBFS_PREFIX)/refcode-type := stage
-$(CONFIG_CBFS_PREFIX)/refcode-compression := $(CBFS_COMPRESS_FLAG)
+$(CONFIG_CBFS_PREFIX)/refcode-compression := none
 
 cbfs-files-$(CONFIG_SEABIOS_VGA_COREBOOT) += vgaroms/seavgabios.bin
 vgaroms/seavgabios.bin-file := $(CONFIG_PAYLOAD_VGABIOS_FILE)
-- 
2.47.3