diff options
Diffstat (limited to 'lib_avr32')
-rw-r--r-- | lib_avr32/bootm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib_avr32/bootm.c b/lib_avr32/bootm.c index e8e537a..c9a0190 100644 --- a/lib_avr32/bootm.c +++ b/lib_avr32/bootm.c @@ -196,8 +196,10 @@ void do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], } theKernel = (void *)ep; - boot_get_ramdisk (cmdtp, flag, argc, argv, images, - IH_ARCH_AVR32, &initrd_start, &initrd_end); + ret = boot_get_ramdisk (argc, argv, images, IH_ARCH_AVR32, + &initrd_start, &initrd_end); + if (ret) + do_reset (cmdtp, flag, argc, argv); show_boot_progress (15); |