aboutsummaryrefslogtreecommitdiff
path: root/boot/image-fdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/image-fdt.c')
-rw-r--r--boot/image-fdt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/image-fdt.c b/boot/image-fdt.c
index 08fca08b71..07e5032232 100644
--- a/boot/image-fdt.c
+++ b/boot/image-fdt.c
@@ -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");