[U-Boot] [PATCH] fix lib_arm/bootm.c

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Nov 28 22:20:15 CET 2008


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.


More information about the U-Boot mailing list