tools: kwboot: Patch nandpagesize to zero also for v1 image
authorPali Rohár <pali@kernel.org>
Fri, 22 Oct 2021 10:37:47 +0000 (12:37 +0200)
committerStefan Roese <sr@denx.de>
Thu, 28 Oct 2021 08:33:32 +0000 (10:33 +0200)
commit0089f61e2dad50650d848ce8625d2b2141f56984
tree03399ce00835ba65c43ad4ba450817d4ee17c62b
parent2fdba4f6585c31da748eee69a8dea1cf0a11d311
tools: kwboot: Patch nandpagesize to zero also for v1 image

kwbimage v1 has also nandpagesize field. So set it to zero for both image
versions when image is not signed.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c