summaryrefslogtreecommitdiff
path: root/board/cloudengines
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-02-07 12:12:24 +0300
committerStefan Roese <sr@denx.de>2022-02-10 09:12:16 +0300
commit9e6d71d2b55f156c907d073825359d6ae441d9cf (patch)
treede5404b159169d5766ffbc8bc6741ba17aa8d01e /board/cloudengines
parentc153576d8dfc80c651a7edb046adbaa1c1c17e42 (diff)
downloadu-boot-9e6d71d2b55f156c907d073825359d6ae441d9cf.tar.xz
tools: kwboot: Allow to use -b without image path as the last getopt() option
Currently it is possible to call "kwboot -b -t /dev/ttyUSB0" but not to call "kwboot -b /dev/ttyUSB0". Fix it by not trying to process the last argv[], which is non-getopt() option (tty path) as the image path for -b. Fixes: c513fe47dca2 ("tools: kwboot: Allow to use option -b without image path") Reported-by: Marcel Ziswiler <marcel@ziswiler.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Marcel Ziswiler <marcel@ziswiler.com> Tested-by: Marcel Ziswiler <marcel@ziswiler.com>
Diffstat (limited to 'board/cloudengines')
0 files changed, 0 insertions, 0 deletions