From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 28 Nov 2008 22:20:15 +0100 Subject: [U-Boot] [PATCH] fix lib_arm/bootm.c In-Reply-To: <20081128193630.GC14044@buzzloop.caiaq.de> References: <20081128193630.GC14044@buzzloop.caiaq.de> Message-ID: <20081128212015.GF3644@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 20:36 Fri 28 Nov , Daniel Mack wrote: > Hi, > > while digging thru the sources to find out why U-Boot won't start my > Linux kernel, I stumbled over lib_arm/bootm.c and its check for the falg > variable. I wonder how this ever worked as the condition is really heavy > to match unless BOOTM_STATE_OS_GO is 0 which it isn't. > > So I guess the patch below is mandatory or you could write an unlikely() > around that check ;) > > Best regards, > Daniel > please update your local tree Best Regards, J.