summaryrefslogtreecommitdiff
path: root/common/spl/spl_xip.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/spl/spl_xip.c')
-rw-r--r--common/spl/spl_xip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_xip.c b/common/spl/spl_xip.c
index e9a40b0ec7..1258d85e63 100644
--- a/common/spl/spl_xip.c
+++ b/common/spl/spl_xip.c
@@ -25,6 +25,6 @@ static int spl_xip(struct spl_image_info *spl_image,
}
#endif
return(spl_parse_image_header(spl_image, bootdev,
- (const struct image_header *)CONFIG_SYS_UBOOT_BASE));
+ (const struct legacy_img_hdr *)CONFIG_SYS_UBOOT_BASE));
}
SPL_LOAD_IMAGE_METHOD("XIP", 0, BOOT_DEVICE_XIP, spl_xip);