tools: kwboot: Always call kwboot_img_patch_hdr()
authorPali Rohár <pali@kernel.org>
Fri, 24 Sep 2021 21:06:55 +0000 (23:06 +0200)
committerStefan Roese <sr@denx.de>
Fri, 1 Oct 2021 09:07:13 +0000 (11:07 +0200)
commitddc04fac90d92e45fb00daa95ebac171769bdc9c
treef0eda084f98f37f63114ac06439da6d3c5b6d4ba
parent9cdc264e2c6c6f92778145e0fd007d21ea0001c0
tools: kwboot: Always call kwboot_img_patch_hdr()

The kwboot_img_patch_hdr() function already decides if header patching
is needed. Always call this function and deprecate the unneeded command
line option `-p`.

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/kwboot.c