summaryrefslogtreecommitdiff
path: root/lib_avr32/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_avr32/bootm.c')
-rw-r--r--lib_avr32/bootm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib_avr32/bootm.c b/lib_avr32/bootm.c
index 35240e2eed6..556e3ea03bd 100644
--- a/lib_avr32/bootm.c
+++ b/lib_avr32/bootm.c
@@ -178,6 +178,9 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
char *commandline = getenv("bootargs");
int ret;
+ if ((flag != 0) && (flag != BOOTM_STATE_OS_GO))
+ return 1;
+
theKernel = (void *)images->ep;
show_boot_progress (15);