summaryrefslogtreecommitdiff
path: root/lib_i386/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_i386/bootm.c')
-rw-r--r--lib_i386/bootm.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib_i386/bootm.c b/lib_i386/bootm.c
index 8c0b225a1..522d7ad8e 100644
--- a/lib_i386/bootm.c
+++ b/lib_i386/bootm.c
@@ -29,10 +29,7 @@
#include <asm/zimage.h>
/*cmd_boot.c*/
-extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
-
-void do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
- bootm_headers_t *images)
+int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
{
void *base_ptr;
ulong os_data, os_len;
@@ -88,9 +85,7 @@ void do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
boot_zimage(base_ptr);
/* does not return */
- return;
error:
- do_reset (cmdtp, flag, argc, argv);
- return;
+ return 1;
}