From: Tom Rini Date: Wed, 11 Jun 2014 18:18:40 -0400 Subject: [U-Boot] [U-Boot,RESEND,2/3] Add run_command_repeatable() In-Reply-To: <1401991678-3046-3-git-send-email-thomas.betker@freenet.de> References: <1401991678-3046-3-git-send-email-thomas.betker@freenet.de> Message-ID: <20140611221840.GF7841@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 05, 2014 at 08:07:57PM +0200, 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 > Acked-by: Simon Glass > Tested-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: