diff options
Diffstat (limited to 'common/cmd_bootm.c')
| -rw-r--r-- | common/cmd_bootm.c | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 18d71008d..529596926 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -138,7 +138,6 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])  	memset ((void *)&images, 0, sizeof (images));  	images.verify = getenv_yesno ("verify"); -	images.autostart = getenv_yesno ("autostart");  	images.lmb = &lmb;  	lmb_init(&lmb); @@ -362,10 +361,9 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])  	show_boot_progress (-9);  #ifdef DEBUG  	puts ("\n## Control returned to monitor - resetting...\n"); -	if (images.autostart) -		do_reset (cmdtp, flag, argc, argv); +	do_reset (cmdtp, flag, argc, argv);  #endif -	if (!images.autostart && iflag) +	if (iflag)  		enable_interrupts();  	return 1; |