diff options
author | Ashish Kumar Mishra <ashish.k.mishra@intel.com> | 2024-07-04 15:37:19 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-07-22 14:03:41 +0000 |
commit | ae1cdeafa26b026ee73a51039f4bda04bbc3d657 (patch) | |
tree | 23de1b63a27ac6e9f59dd7a9fb12340ac1f261de /src/console | |
parent | 203b9fb352f89c112325286cc651596da906a848 (diff) |
vc/google/chromeos: Add configurable compression for logo file in cbfs
This patch enables LZMA or LZ4 compression algorithm for the logo cbfs
file based on BMP_LOGO_COMPRESS_LZMA or BMP_LOGO_COMPRESS_LZ4 Kconfig.
Logo cbfs file is compressed based on CBFS_COMPRESS_FLAG, by default.
Based on logo file content and target platform, enabling LZ4 could
save significant boot time, with increase in file size.
For brox:
cb_logo LZ4 is +1265 bytes than LZMA, saves ~0.760ms in decomp.
cb_plus_logo LZ4 is +2011 bytes than LZMA, saves ~0.880ms in decomp.
BUG=b:337330958
TEST=Able to boot brox and verified firmware splash screen display
with LZMA and LZ4 compression.
Change-Id: I57fbd0d3a39eaba3fb9d61e7a3fb5eeb44e3a839
Signed-off-by: Ashish Kumar Mishra <ashish.k.mishra@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83420
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/console')
0 files changed, 0 insertions, 0 deletions