diff options
Diffstat (limited to 'common/spl/spl_onenand.c')
-rw-r--r-- | common/spl/spl_onenand.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/spl/spl_onenand.c b/common/spl/spl_onenand.c index d8d80974f2..af7d82eb62 100644 --- a/common/spl/spl_onenand.c +++ b/common/spl/spl_onenand.c @@ -14,7 +14,7 @@ #include <asm/io.h> #include <onenand_uboot.h> -void spl_onenand_load_image(void) +int spl_onenand_load_image(void) { struct image_header *header; @@ -28,4 +28,6 @@ void spl_onenand_load_image(void) spl_parse_image_header(header); onenand_spl_load_image(CONFIG_SYS_ONENAND_U_BOOT_OFFS, spl_image.size, (void *)spl_image.load_addr); + + return 0; } |