Skip to content
Snippets Groups Projects
Commit a44a269a authored by Marian Balakowicz's avatar Marian Balakowicz
Browse files

[new uImage] Re-enable interrupts for non automatic booting


Re-enable interrupts if we return from do_bootm_<os> and 'autostart'
environment variable is not set to 'yes'.

Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
parent d985c849
Branches
Tags
No related merge requests found
......@@ -342,8 +342,12 @@ 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);
#endif
if (!images.autostart && iflag)
enable_interrupts();
return 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment