projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
microblaze: Add cache flush
[platform/kernel/u-boot.git]
/
lib_microblaze
/
bootm.c
diff --git
a/lib_microblaze/bootm.c
b/lib_microblaze/bootm.c
index
52fe068
..
e97aae6
100644
(file)
--- a/
lib_microblaze/bootm.c
+++ b/
lib_microblaze/bootm.c
@@
-38,6
+38,9
@@
int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
void (*theKernel) (char *);
char *commandline = getenv ("bootargs");
+ if ((flag != 0) && (flag != BOOTM_STATE_OS_GO))
+ return 1;
+
theKernel = (void (*)(char *))images->ep;
show_boot_progress (15);