]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/spl/spl.c
armv8/ls2085aqds: NAND boot support
[karo-tx-uboot.git] / common / spl / spl.c
index 144276946196cc426aec9deb09d1f8998dea7e78..3ec10add6e8437ae37cb60c7edcf98cd62e65e5d 100644 (file)
@@ -125,7 +125,7 @@ __weak void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
        typedef void __noreturn (*image_entry_noargs_t)(void);
 
        image_entry_noargs_t image_entry =
-                       (image_entry_noargs_t) spl_image->entry_point;
+               (image_entry_noargs_t)(unsigned long)spl_image->entry_point;
 
        debug("image entry point: 0x%X\n", spl_image->entry_point);
        image_entry();