commit | 1d43bfd2d54240c18ec6bfd68a57349cae839f13 | [log] [tgz] |
---|---|---|
author | Thomas Betker <thomas.betker@freenet.de> | Thu Jun 05 20:07:57 2014 +0200 |
committer | Tom Rini <trini@ti.com> | Wed Jun 11 16:25:47 2014 -0400 |
tree | b7d4eecf0998091adaa1bef9cc956ab98851a98c | |
parent | 73671dad49bf2368959b7bf0e30ba931ea95565c [diff] |
Add run_command_repeatable() 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@rohde-schwarz.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>