summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2015-10-09 16:18:05 (GMT)
committerTom Rini <trini@konsulko.com>2015-10-11 21:12:04 (GMT)
commit6607d397c2a5ecd2fe7c940331da29692bab671e (patch)
tree62d40f33bab045645c29f1d0b81c8e82b22260a0 /include/configs
parent1a9717fb30c5cbb70dcc5d53791670967dfe3487 (diff)
downloadu-boot-fsl-qoriq-6607d397c2a5ecd2fe7c940331da29692bab671e.tar.xz
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 'include/configs')
0 files changed, 0 insertions, 0 deletions