diff options
| author | Simon Glass <[email protected]> | 2023-11-12 08:27:44 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-12-13 18:39:05 -0500 |
| commit | 1de1a0348755ad5e57790a39059eceeb8e8aba42 (patch) | |
| tree | 45caadec97e55cb6189073f78047de19713cb260 /boot/image-fdt.c | |
| parent | c659ac7cca151be29712f37fc77dd18fb4ab96c5 (diff) | |
boot: Drop size parameter from image_setup_libfdt()
The of_size parameter is not used, so remove it.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'boot/image-fdt.c')
| -rw-r--r-- | boot/image-fdt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/image-fdt.c b/boot/image-fdt.c index 08fca08b710..07e50322325 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"); |
