summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8192
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2021-02-04 16:24:21 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-02-05 09:42:58 +0000
commit7aa5b5ece9c1800f18d7f4404b77a62ee9278b8f (patch)
tree8edfcf447744ec71954a436cff751eb913091b24 /src/soc/mediatek/mt8192
parent739c080eef55e6c5102cedf45be01be9e856a0fe (diff)
downloadcoreboot-7aa5b5ece9c1800f18d7f4404b77a62ee9278b8f.tar.gz
coreboot-7aa5b5ece9c1800f18d7f4404b77a62ee9278b8f.tar.bz2
coreboot-7aa5b5ece9c1800f18d7f4404b77a62ee9278b8f.zip
soc/mediatek/mt8192: Use LZ4 compression for MCUs
For MT8192 MCUs, replace LZMA compression with LZ4 to speed up boot process. The loading (plus decompression) time of mcupm.bin and sspm.bin is consistently reduced by 8ms, respectively. BUG=b:177389446 TEST=emerge-asurada coreboot TEST=Hayato booted up BRANCH=none Change-Id: Ida35e7f6e0572ad43082e53bcc69bc708cf7da44 Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50278 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8192')
-rw-r--r--src/soc/mediatek/mt8192/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8192/Makefile.inc b/src/soc/mediatek/mt8192/Makefile.inc
index 9d22ef2b642f..9109e61566dc 100644
--- a/src/soc/mediatek/mt8192/Makefile.inc
+++ b/src/soc/mediatek/mt8192/Makefile.inc
@@ -78,7 +78,7 @@ mcu-firmware-files := \
$(foreach fw, $(call strip_quotes,$(mcu-firmware-files)), \
$(eval $(fw)-file := $(MT8192_BLOB_DIR)/$(fw)) \
$(eval $(fw)-type := raw) \
- $(eval $(fw)-compression := $(CBFS_COMPRESS_FLAG)) \
+ $(eval $(fw)-compression := LZ4) \
$(if $(wildcard $($(fw)-file)), $(eval cbfs-files-y += $(fw)), ) \
)