]> git.ipfire.org Git - thirdparty/u-boot.git/commit
cmd: zip: Use map_sysmem() with buffers in the zip command
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 28 Jan 2026 19:41:30 +0000 (20:41 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Feb 2026 15:29:53 +0000 (09:29 -0600)
commit3a76ba66ecb65b892de8b16360a8b0e93415f712
tree66500bcb5b7074d6625cf3884aa884e367397e46
parentf2c704c0e8aac1b846fd55b7178151b2c879e185
cmd: zip: Use map_sysmem() with buffers in the zip command

The current implementation casts an address to a pointer. Make it more
sandbox-friendly by using map_sysmem().

Use symbolic return value for the command while updating
the return value handling.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
cmd/zip.c