tools: kwboot: Allow to use option -b without image path
authorPali Rohár <pali@kernel.org>
Tue, 25 Jan 2022 17:13:07 +0000 (18:13 +0100)
committerStefan Roese <sr@denx.de>
Mon, 31 Jan 2022 09:23:38 +0000 (10:23 +0100)
commitc513fe47dca24de87a904ce7d71cfd8a390e1154
tree884affbb7f3dc72b2b4ef50d5a9a1dda7daf1717
parent5d8aa4c92b86dcdbdb7c9fcf12e6c93c87e16555
tools: kwboot: Allow to use option -b without image path

Allow option -b without image path parameter, to send boot pattern and
wait for response but not send any image. This allows to use kwboot just
for processing boot pattern and user can use any other xmodem tool for
transferring the image itself (e.g. sx). Useful for debugging purposes.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c