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

2014-06-05 Thread Simon Glass
On 5 June 2014 12:07, Thomas Betker 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

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

2014-06-05 Thread Thomas Betker
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 --- common/cli.c | 24