diff options
Diffstat (limited to 'lib_sparc')
-rw-r--r-- | lib_sparc/bootm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib_sparc/bootm.c b/lib_sparc/bootm.c index 565b41caf6..49757595f7 100644 --- a/lib_sparc/bootm.c +++ b/lib_sparc/bootm.c @@ -102,6 +102,9 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t * images) struct lmb *lmb = &images->lmb; int ret; + if ((flag != 0) && (flag != BOOTM_STATE_OS_GO)) + return 1; + /* Get virtual address of kernel start */ linux_hdr = (void *)images->os.load; |