diff options
| author | Tom Rini <[email protected]> | 2024-07-03 09:05:52 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-07-03 09:05:52 -0600 |
| commit | 4d3383623dd04be230ebb962c2f79bb3f3d502d9 (patch) | |
| tree | 8c0b34c49d3a3cee72f6d9680ea0afc93d09f793 /cmd | |
| parent | 65fbdab27224ee3943a89496b21862db83c34da2 (diff) | |
| parent | c85a05a5d87ce6f077c41d7e63a4a7953ddb351c (diff) | |
Merge tag 'dm-pull-2jun24-take2' of https://source.denx.de/u-boot/custodians/u-boot-dm
buildman CI improvements
binman fixes and assumed size
partial tools fixes for Python 3.12
patman enhancements
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/unlz4.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/unlz4.c b/cmd/unlz4.c index fc5200117ad..2eadc753e6c 100644 --- a/cmd/unlz4.c +++ b/cmd/unlz4.c @@ -6,6 +6,7 @@ #include <command.h> #include <env.h> +#include <mapmem.h> #include <vsprintf.h> #include <u-boot/lz4.h> @@ -26,7 +27,8 @@ static int do_unlz4(struct cmd_tbl *cmdtp, int flag, int argc, return CMD_RET_USAGE; } - ret = ulz4fn((void *)src, src_len, (void *)dst, &dst_len); + ret = ulz4fn(map_sysmem(src, 0), src_len, map_sysmem(dst, dst_len), + &dst_len); if (ret) { printf("Uncompressed err :%d\n", ret); return 1; |
