tools: kwbimage: Dump kwbimage config file on '-p -1' option
authorPali Rohár <pali@kernel.org>
Wed, 12 Jan 2022 17:20:50 +0000 (18:20 +0100)
committerStefan Roese <sr@denx.de>
Fri, 14 Jan 2022 10:39:16 +0000 (11:39 +0100)
commit1a8e6b63e24f65b03a3997823bc4f55ecd8940ba
tree8eac2caef744f137a1441636c591ea113529b6c5
parentc934c9a66622c5a9054dc38765190c5c182caefb
tools: kwbimage: Dump kwbimage config file on '-p -1' option

To regenerate kwbimage from existing image, it is needed to have kwbimage
config file. Add a new option to generate kwbimage config file from
existing kwbimage when '-p 1' option is given.

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