[PATCH v2 22/32] bootm: Pass image buffer to boot_get_fdt()

Tom Rini trini at konsulko.com
Thu Nov 16 16:44:33 CET 2023


On Wed, Nov 15, 2023 at 09:10:22PM -0700, Simon Glass wrote:

> Rather than having boot_get_fdt() calculate this, move the calculation
> into the caller. This removes the access to argv[0] in this function,
> so we can later refactor it to just accept argv[2] instead of the whole
> argv[].
> 
> Move the function comment to the header file and fix the u8 argument,
> while we are here.
> 
> 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/20231116/72916851/attachment.sig>


More information about the U-Boot mailing list