]> git.sur5r.net Git - u-boot/blobdiff - lib_arm/bootm.c
Restore the ability to continue booting after legacy image overwrite
[u-boot] / lib_arm / bootm.c
index c5e8cb3eb6625b821ce6b0b7a633fc68d5a0f9c7..6b4a80723ff4bfce0ab331b9d52e08a64a032622 100644 (file)
@@ -78,7 +78,7 @@ void do_bootm_linux (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
 
        /* find kernel entry point */
        if (images->legacy_hdr_valid) {
-               ep = image_get_ep (images->legacy_hdr_os);
+               ep = image_get_ep (&images->legacy_hdr_os_copy);
 #if defined(CONFIG_FIT)
        } else if (images->fit_uname_os) {
                ret = fit_image_get_entry (images->fit_hdr_os,