]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwboot: Fix usage of -D without -t
authorPali Rohár <pali@kernel.org>
Tue, 25 Jan 2022 17:13:12 +0000 (18:13 +0100)
committerStefan Roese <sr@denx.de>
Mon, 31 Jan 2022 09:23:38 +0000 (10:23 +0100)
commit6a4b9b77d0b37f2479663fc07f28cc4a3f6843e7
tree5deec030c14b17c8a7c015886c688dd13c70c247
parent56fa53bea7ccf62a1fdda9a9034ffae72b5705cb
tools: kwboot: Fix usage of -D without -t

When -D is specified then both bootmsg and debugmsg are not set, but
imgpath is set. Fix this check for valid and required parameters.

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