diff options
author | Simon Glass <sjg@chromium.org> | 2022-10-11 18:47:08 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-10-18 06:17:12 +0300 |
commit | f06443f9d5dfc616b05d3526c258044bfce77419 (patch) | |
tree | 935ea51d1b8b118cac47808ff9b8c615f528ad16 /configs/licheepi_nano_defconfig | |
parent | 13819f07ea6c60e87b708755a53954b8c0c99a32 (diff) | |
download | u-boot-f06443f9d5dfc616b05d3526c258044bfce77419.tar.xz |
bootm: Avoid returning error codes from command
Functions which implement commands must return a CMD_RET_... error code.
At present bootm can return a negative errno value in some cases, thus
causing strange behaviour such as trying to exit the shell and printing
usage information.
Fix this by returning the correct value.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/licheepi_nano_defconfig')
0 files changed, 0 insertions, 0 deletions