]> git.sur5r.net Git - u-boot/blobdiff - lib_m68k/bootm.c
[new uImage] Add new uImage format support to arch specific do_bootm_linux() routines
[u-boot] / lib_m68k / bootm.c
index f185beaa9ec9eea06aa9a42b5b2d0970251aab8d..6f49c31616f478d2d811aaf641edb35cf1e2ddde 100644 (file)
@@ -35,8 +35,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
-
 #define PHYSADDR(x) x
 
 #define LINUX_MAX_ENVS         256
@@ -101,12 +99,16 @@ void do_bootm_linux(cmd_tbl_t * cmdtp, int flag,
                ep = image_get_ep (images->legacy_hdr_os);
 #if defined(CONFIG_FIT)
        } else if (images->fit_uname_os) {
-               fit_unsupported_reset ("M68K linux bootm");
-               do_reset (cmdtp, flag, argc, argv);
+               ret = fit_image_get_entry (images->fit_hdr_os,
+                               images->fit_noffset_os, &ep);
+               if (ret) {
+                       puts ("Can't get entry point property!\n");
+                       goto error;
+               }
 #endif
        } else {
                puts ("Could not find kernel entry point!\n");
-               do_reset (cmdtp, flag, argc, argv);
+               goto error;
        }
        kernel = (void (*)(bd_t *, ulong, ulong, ulong, ulong))ep;