[PATCH 17/29] bootm: Reduce arguments to boot_get_ramdisk()

Tom Rini trini at konsulko.com
Wed Nov 15 23:37:20 CET 2023


On Sat, Nov 11, 2023 at 05:09:02PM -0700, Simon Glass wrote:

> This function normally only uses one argument so pass it in directly.
> Move comments to the header file so could one day include these
> functions in API docs. Fix up the u8 argument while here, since it
> avoids the compiler having to mask the value on some machines.
> 
> The Android case here is bit strange, since it can use argv[0], so deal
> with that in the caller.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231115/deade807/attachment.sig>


More information about the U-Boot mailing list