diff options
Diffstat (limited to 'boot/boot_fit.c')
-rw-r--r-- | boot/boot_fit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/boot_fit.c b/boot/boot_fit.c index dfc2a3117d..4a493b3684 100644 --- a/boot/boot_fit.c +++ b/boot/boot_fit.c @@ -57,14 +57,14 @@ static int fdt_offset(const void *fit) void *locate_dtb_in_fit(const void *fit) { - struct image_header *header; + struct legacy_img_hdr *header; int size; int ret; size = fdt_totalsize(fit); size = (size + 3) & ~3; - header = (struct image_header *)fit; + header = (struct legacy_img_hdr *)fit; if (image_get_magic(header) != FDT_MAGIC) { debug("No FIT image appended to U-boot\n"); |