[U-Boot] [RESEND PATCH 2/3] Add run_command_repeatable()

Simon Glass sjg at chromium.org
Thu Jun 5 20:18:22 CEST 2014


On 5 June 2014 12:07, Thomas Betker <thomas.betker at freenet.de> wrote:
> run_command() returns 0 on success and 1 on error. However, there are some
> invocations which expect 0 or 1 for success (not repeatable or repeatable)
> and -1 for error; add run_command_repeatable() for this purpose.
>
> Signed-off-by: Thomas Betker <thomas.betker at rohde-schwarz.com>

I feel that a separate function is fine for now.

Acked-by: Simon Glass <sjg at chromium.org>
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list