diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2015-10-09 17:18:05 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-11 17:12:04 -0400 |
commit | 6607d397c2a5ecd2fe7c940331da29692bab671e (patch) | |
tree | 62d40f33bab045645c29f1d0b81c8e82b22260a0 /configs/P5040DS_defconfig | |
parent | 1a9717fb30c5cbb70dcc5d53791670967dfe3487 (diff) | |
download | u-boot-imx-6607d397c2a5ecd2fe7c940331da29692bab671e.zip u-boot-imx-6607d397c2a5ecd2fe7c940331da29692bab671e.tar.gz u-boot-imx-6607d397c2a5ecd2fe7c940331da29692bab671e.tar.bz2 |
common/armflash: load_image returns success or failure
Change the load_image so that it returns success or failure of the
command (using CMD_RET_SUCCESS or CMD_RET_FAILURE).
This way, hush scripts can optionally load different files depending
upon the system configuration.
A simple example:
if afs load ${kernel_name} ${kernel_addr}; then echo loaded; else echo \
not loaded; fi
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'configs/P5040DS_defconfig')
0 files changed, 0 insertions, 0 deletions