commit | ba5e3f7f7825169d95a17cc4929143f522e82868 | [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 | 972d524893e4635ff1ac4286a870cda2dd3fc301 [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>