]> Git Repo - J-u-boot.git/commit - boot/bootm.c
bootm: Pass image buffer to boot_get_fdt()
authorSimon Glass <[email protected]>
Sat, 18 Nov 2023 21:05:09 +0000 (14:05 -0700)
committerTom Rini <[email protected]>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commitba5e3f7f7825169d95a17cc4929143f522e82868
treec57552b53a29e0b31a727d14bff46c3f28bedb16
parent972d524893e4635ff1ac4286a870cda2dd3fc301
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
boot/bootm.c
boot/image-fdt.c
include/image.h
This page took 0.035107 seconds and 4 git commands to generate.