diff options
author | Simon Glass <sjg@chromium.org> | 2014-02-26 22:59:15 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-03-04 17:15:28 (GMT) |
commit | 16ff9902468088a0a559b3db95421355ef60d366 (patch) | |
tree | 4618524681dff751b2860c3d6b8031b4307b7f1c /fs/yaffs2 | |
parent | 714a5621c2df0b1cfce525b9add071fc9bfd726b (diff) | |
download | u-boot-fsl-qoriq-16ff9902468088a0a559b3db95421355ef60d366.tar.xz |
Add cmd_process_error() to report and process errors
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@chromium.org>
Diffstat (limited to 'fs/yaffs2')
0 files changed, 0 insertions, 0 deletions