commit | be6346b9363cc189024f102e6de030b05e581064 | [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 | 5ac0026273a428cf36b752f4df25a146431b109f [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>