ppc4xx: Unify AMCC's board config files (part 1/3)
[oweals/u-boot.git] / lib_blackfin / bootm.c
index bea11ed6dd36f997aa55bffb0c38d2258e79e693..ef4b1127fcf51811939522a96eac41fea89e4ddd 100644 (file)
@@ -49,7 +49,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,