doc/README.mips: Add MIPS notes
[oweals/u-boot.git] / lib_nios2 / bootm.c
index 0c89e963582087535b9c15c09c27fff8ea26fdf0..01f4e87cb43f94db8bd89a7b9cff778cde3c78ba 100644 (file)
@@ -34,7 +34,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) {
                int ret = fit_image_get_entry (images->fit_hdr_os,