diff options
Diffstat (limited to 'lib_arm/bootm.c')
| -rw-r--r-- | lib_arm/bootm.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/lib_arm/bootm.c b/lib_arm/bootm.c index 772fa7f51..8e264ceb2 100644 --- a/lib_arm/bootm.c +++ b/lib_arm/bootm.c @@ -67,6 +67,9 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)  	char *commandline = getenv ("bootargs");  #endif +	if ((flag != 0) || (flag != BOOTM_STATE_OS_GO)) +		return 1; +  	theKernel = (void (*)(int, int, uint))images->ep;  	s = getenv ("machid"); |