smdk-dltool: Produce correct return code in event of error
At present if a download fails, we don't report this in the return code.
This means there is no indication of failure to cros_bundle_firmware.
Correct the return code in this case, with a new patch.
$ cros_bundle_firmware -b daisy -w usb --bl1 <fname>
where fname is an old BL1 which breaks USB download.
See that the failure to download BL2 is now reported and
cros_bundle_firmware stops with an error.
Reviewed-by: Doug Anderson <email@example.com>
Commit-Ready: Mike Frysinger <firstname.lastname@example.org>
Tested-by: Mike Frysinger <email@example.com>
Reviewed-by: Simon Glass <firstname.lastname@example.org>
3 files changed