X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib_nios2%2Fbootm.c;h=01f4e87cb43f94db8bd89a7b9cff778cde3c78ba;hb=dedec4cfc88eeadac616d558f6104cbe2e0d46aa;hp=0c89e963582087535b9c15c09c27fff8ea26fdf0;hpb=27f33e9f45ef7f9685cbdc65066a1828e85dde4f;p=platform%2Fkernel%2Fu-boot.git diff --git a/lib_nios2/bootm.c b/lib_nios2/bootm.c index 0c89e96..01f4e87 100644 --- a/lib_nios2/bootm.c +++ b/lib_nios2/bootm.c @@ -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,