diff options
Diffstat (limited to 'lib_sh')
-rw-r--r-- | lib_sh/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_sh/bootm.c b/lib_sh/bootm.c index 3d5c3bb..dd32a3e 100644 --- a/lib_sh/bootm.c +++ b/lib_sh/bootm.c @@ -67,7 +67,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, |