summaryrefslogtreecommitdiff
path: root/boot/image.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-28 09:56:05 -0400
committerTom Rini <trini@konsulko.com>2022-03-28 09:56:05 -0400
commit94e836f7ddab44f5e62e69a2f9fa97e975fd1b90 (patch)
treed3d5947e5c1e76e0295e1c6e854ae9b35aaeac71 /boot/image.c
parentc259b197f6f8a4b1d33700e0b9202781fb8ce737 (diff)
parented48490f8d3f8715b23071a8a1cbe5bba8c8626e (diff)
Merge branch '2022-03-28-critical-fixes'
- A zstd, two Apple M1 and an MXS NAND critical bugfix - Clean up another file that wasn't being removed and update some external documentation links.
Diffstat (limited to 'boot/image.c')
-rw-r--r--boot/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/image.c b/boot/image.c
index 07fa2d3160d..121df0c8384 100644
--- a/boot/image.c
+++ b/boot/image.c
@@ -500,7 +500,7 @@ int image_decomp(int comp, ulong load, ulong image_start, int type,
struct abuf in, out;
abuf_init_set(&in, image_buf, image_len);
- abuf_init_set(&in, load_buf, unc_len);
+ abuf_init_set(&out, load_buf, unc_len);
ret = zstd_decompress(&in, &out);
if (ret >= 0) {
image_len = ret;