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

Andreas Bießmann
2013-07-02T13:05:22Z

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@ti.com>

Tested-by: Andreas Bie?mann <andreas.devel@googlemail.com>

on avr32

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