From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 5 Jun 2014 12:18:22 -0600 Subject: [U-Boot] [RESEND PATCH 2/3] Add run_command_repeatable() In-Reply-To: <1401991678-3046-3-git-send-email-thomas.betker@freenet.de> References: <1401991678-3046-1-git-send-email-thomas.betker@freenet.de> <1401991678-3046-3-git-send-email-thomas.betker@freenet.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 5 June 2014 12:07, 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 I feel that a separate function is fine for now. Acked-by: Simon Glass Tested-by: Simon Glass