summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2015-10-09 17:18:04 +0100
committerTom Rini <trini@konsulko.com>2015-10-11 17:12:04 -0400
commit1a9717fb30c5cbb70dcc5d53791670967dfe3487 (patch)
tree5d37e9de161b7e56a89eeace53b515a0e6245364 /lib
parent74e264b49fc5aa20ef6f2c9e00560f81c08c667c (diff)
downloadtalos-obmc-uboot-1a9717fb30c5cbb70dcc5d53791670967dfe3487.tar.gz
talos-obmc-uboot-1a9717fb30c5cbb70dcc5d53791670967dfe3487.zip
common/armflash: add command to check if image exists
Add a command to the ARM flash support to check if an image exists or not. If the image is found, it will return CMD_RET_SUCCESS, else CMD_RET_FAILURE. This allows hush scripts to conditionally load images. A simple example: if afs exists ${kernel_name}; then echo found; else echo \ not found; fi Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud