commit | e8f526993807d17dd1a8a85db254ad50cc451cc1 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@ti.com> | Mon Jul 01 09:09:23 2013 -0400 |
committer | Tom Rini <trini@ti.com> | Thu Jul 04 10:53:38 2013 -0400 |
tree | a98ffd5b84f4133ce8723a127ae3a145184bd68a | |
parent | dbe8cfabf43cf8b670ede1279ba55cd7a6abc379 [diff] |
cmd_bootm.c: Correct check/return for unsupported sub-command 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>