[U-Boot] [PATCH] cmd_bootm.c: Correct check/return for unsupported sub-command

Andreas Bießmann andreas.devel at googlemail.com
Tue Jul 2 15:05:22 CEST 2013


On 07/01/2013 03:09 PM, Tom Rini wrote:
> With the do_bootm_states re-organization, we have the call to any
> potential sub-commands in a single spot.  If one fails, we can then stop
> right there and return to the caller.  Prior to these calls we have
> already ensured that ret is zero so we will not be returning this error
> for some other case.
> 
> Signed-off-by: Tom Rini <trini at ti.com>

Tested-by: Andreas Bießmann <andreas.devel at googlemail.com>

on avr32

> ---
>  common/cmd_bootm.c |    9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)



More information about the U-Boot mailing list