mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
boot: Drop size parameter from image_setup_libfdt()
The of_size parameter is not used, so remove it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
c659ac7cca
commit
1de1a03487
6 changed files with 8 additions and 8 deletions
|
@ -575,12 +575,13 @@ __weak int arch_fixup_fdt(void *blob)
|
|||
}
|
||||
|
||||
int image_setup_libfdt(struct bootm_headers *images, void *blob,
|
||||
int of_size, struct lmb *lmb)
|
||||
struct lmb *lmb)
|
||||
{
|
||||
ulong *initrd_start = &images->initrd_start;
|
||||
ulong *initrd_end = &images->initrd_end;
|
||||
int ret = -EPERM;
|
||||
int fdt_ret;
|
||||
int of_size;
|
||||
|
||||
if (fdt_root(blob) < 0) {
|
||||
printf("ERROR: root node setup failed\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue