Skip to content
Snippets Groups Projects
Commit c479c136 authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarTom Rini <trini@ti.com>
Tested-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent a544eadd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment