commit | af2c72cbc8910e6be3276755995481ab62b64a65 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Nov 18 14:05:09 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Dec 13 11:51:24 2023 -0500 |
tree | c57552b53a29e0b31a727d14bff46c3f28bedb16 | |
parent | 7f0a5a61aa88a16808c998aa768d2fc693b3602a [diff] |
bootm: Pass image buffer to boot_get_fdt() 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@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>