Home
last modified time | relevance | path

Searched hist:"1 d43bfd2d54240c18ec6bfd68a57349cae839f13" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/common/
H A Dcli.c1d43bfd2d54240c18ec6bfd68a57349cae839f13 Thu Jun 05 18:07:57 UTC 2014 Thomas Betker <thomas.betker@freenet.de> 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>
/rk3399_rockchip-uboot/include/
H A Dcommon.h1d43bfd2d54240c18ec6bfd68a57349cae839f13 Thu Jun 05 18:07:57 UTC 2014 Thomas Betker <thomas.betker@freenet.de> 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>