[U-Boot] [U-Boot, v9, 02/14] Add cmd_process_error() to report and process errors
Tom Rini
trini at ti.com
Tue Mar 4 20:16:31 CET 2014
On Wed, Feb 26, 2014 at 03:59:15PM -0700, Simon Glass wrote:
> U-Boot now uses errors defined in include/errno.h which are negative
> integers. Commands which fail need to report the error and return 1
> to indicate failure. Add this functionality in cmd_process_error().
>
> For now this merely reports the error number. It would be possible
> also to produce a helpful error message by storing the error strings
> in U-Boot.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20140304/c7ae00aa/attachment.pgp>
More information about the U-Boot
mailing list