summaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
authorThomas Betker <thomas.betker@freenet.de>2014-06-05 20:07:57 +0200
committerTom Rini <trini@ti.com>2014-06-11 16:25:47 -0400
commit1d43bfd2d54240c18ec6bfd68a57349cae839f13 (patch)
treeb7d4eecf0998091adaa1bef9cc956ab98851a98c /common/console.c
parent73671dad49bf2368959b7bf0e30ba931ea95565c (diff)
downloadu-boot-imx-1d43bfd2d54240c18ec6bfd68a57349cae839f13.zip
u-boot-imx-1d43bfd2d54240c18ec6bfd68a57349cae839f13.tar.gz
u-boot-imx-1d43bfd2d54240c18ec6bfd68a57349cae839f13.tar.bz2
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>
Diffstat (limited to 'common/console.c')
0 files changed, 0 insertions, 0 deletions