diff options
author | Tom Rini <trini@konsulko.com> | 2021-12-28 11:28:31 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-28 11:28:31 -0500 |
commit | 87a9aa604de8a4a50642e25b88af328ab375893b (patch) | |
tree | 863b4beef53827cddf2813dd7627aaa0bac62cda /cmd | |
parent | 111a8b57354bb5aff55635502a0cdf74cb63e835 (diff) | |
parent | 92302ab1a279859824ec0f2e3864be44e883bff9 (diff) | |
download | u-boot-87a9aa604de8a4a50642e25b88af328ab375893b.zip u-boot-87a9aa604de8a4a50642e25b88af328ab375893b.tar.gz u-boot-87a9aa604de8a4a50642e25b88af328ab375893b.tar.bz2 |
Merge tag 'video-next-20211228' of https://source.denx.de/u-boot/custodians/u-boot-video into nextWIP/28Dec2021-next
- various fixes to the sandbox display support
- support for showing a logo without splash screen config
- support for BMP drawing to depths other than 16bpp
- tests for the different types of supported BMP images
- support showing a logo when running coreboot via qemu
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/unzip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/unzip.c b/cmd/unzip.c index 3d1f5f3..bc6cee0 100644 --- a/cmd/unzip.c +++ b/cmd/unzip.c @@ -8,6 +8,7 @@ #include <command.h> #include <env.h> #include <gzip.h> +#include <mapmem.h> #include <part.h> static int do_unzip(struct cmd_tbl *cmdtp, int flag, int argc, @@ -28,7 +29,8 @@ static int do_unzip(struct cmd_tbl *cmdtp, int flag, int argc, return CMD_RET_USAGE; } - if (gunzip((void *) dst, dst_len, (void *) src, &src_len) != 0) + if (gunzip(map_sysmem(dst, dst_len), dst_len, map_sysmem(src, 0), + &src_len) != 0) return 1; printf("Uncompressed size: %lu = 0x%lX\n", src_len, src_len); |