diff options
Diffstat (limited to 'common/spl/spl_onenand.c')
-rw-r--r-- | common/spl/spl_onenand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_onenand.c b/common/spl/spl_onenand.c index 1a28a84e44..8d2c51bc47 100644 --- a/common/spl/spl_onenand.c +++ b/common/spl/spl_onenand.c @@ -26,7 +26,7 @@ int spl_onenand_load_image(void) /* Load u-boot */ onenand_spl_load_image(CONFIG_SYS_ONENAND_U_BOOT_OFFS, CONFIG_SYS_ONENAND_PAGE_SIZE, (void *)header); - ret = spl_parse_image_header(header); + ret = spl_parse_image_header(&spl_image, header); if (ret) return ret; onenand_spl_load_image(CONFIG_SYS_ONENAND_U_BOOT_OFFS, |