Searched hist:"16 ff9902468088a0a559b3db95421355ef60d366" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/include/ |
| H A D | command.h | 16ff9902468088a0a559b3db95421355ef60d366 Wed Feb 26 22:59:15 UTC 2014 Simon Glass <sjg@chromium.org> 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>
|
| /rk3399_rockchip-uboot/common/ |
| H A D | command.c | 16ff9902468088a0a559b3db95421355ef60d366 Wed Feb 26 22:59:15 UTC 2014 Simon Glass <sjg@chromium.org> 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>
|