aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-11-12 08:27:44 -0700
committerTom Rini <trini@konsulko.com>2023-12-13 18:39:05 -0500
commit1de1a0348755ad5e57790a39059eceeb8e8aba42 (patch)
tree45caadec97e55cb6189073f78047de19713cb260 /lib
parentc659ac7cca151be29712f37fc77dd18fb4ab96c5 (diff)
downloadu-boot-1de1a0348755ad5e57790a39059eceeb8e8aba42.zip
u-boot-1de1a0348755ad5e57790a39059eceeb8e8aba42.tar.gz
u-boot-1de1a0348755ad5e57790a39059eceeb8e8aba42.tar.bz2
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_dt_fixup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_dt_fixup.c b/lib/efi_loader/efi_dt_fixup.c
index 838023c..a0c889c 100644
--- a/lib/efi_loader/efi_dt_fixup.c
+++ b/lib/efi_loader/efi_dt_fixup.c
@@ -173,7 +173,7 @@ efi_dt_fixup(struct efi_dt_fixup_protocol *this, void *dtb,
}
fdt_set_totalsize(dtb, *buffer_size);
- if (image_setup_libfdt(&img, dtb, 0, NULL)) {
+ if (image_setup_libfdt(&img, dtb, NULL)) {
log_err("failed to process device tree\n");
ret = EFI_INVALID_PARAMETER;
goto out;