mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-27 08:41:35 +02:00
image: add lz4 zstd compression magic map
Add lz4 and zstd compression magic map. Already can decompress images with lz4 and zstd compression type. Signed-off-by: Artem Lapkin <art@khadas.com>
This commit is contained in:
parent
270f8710f9
commit
2ddb8fcd2e
@ -216,6 +216,8 @@ static const struct comp_magic_map image_comp[] = {
|
||||
{ IH_COMP_GZIP, "gzip", {0x1f, 0x8b},},
|
||||
{ IH_COMP_LZMA, "lzma", {0x5d, 0x00},},
|
||||
{ IH_COMP_LZO, "lzo", {0x89, 0x4c},},
|
||||
{ IH_COMP_LZ4, "lz4", {0x04, 0x22},},
|
||||
{ IH_COMP_ZSTD, "zstd", {0x28, 0xb5},},
|
||||
{ IH_COMP_NONE, "none", {}, },
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user