From: Ilko Iliev Date: Sat, 8 Nov 2008 17:11:30 +0100 Subject: [U-Boot] [PATCH] lib_arm: do_bootm_linux() - correct a small mistake In-Reply-To: 8059491C-208E-45EB-BE50-652E5DF6C80F@kernel.crashing.org References: 8059491C-208E-45EB-BE50-652E5DF6C80F@kernel.crashing.org Message-ID: <12261606904040-git-send-email-iliev@ronetix.at> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Ilko Iliev --- lib_arm/bootm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib_arm/bootm.c b/lib_arm/bootm.c index 8e264ce..7dbde7d 100644 --- a/lib_arm/bootm.c +++ b/lib_arm/bootm.c @@ -67,7 +67,7 @@ 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)) + if ((flag != 0) && (flag != BOOTM_STATE_OS_GO)) return 1; theKernel = (void (*)(int, int, uint))images->ep; -- 1.5.2.2