]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Add support for dumping NAND_BLKSZ for v0 images
authorPali Rohár <pali@kernel.org>
Sun, 8 Jan 2023 15:22:34 +0000 (16:22 +0100)
committerStefan Roese <sr@denx.de>
Wed, 1 Mar 2023 05:39:17 +0000 (06:39 +0100)
commit0a3a392c7122fccc1977d026cea9e48652b75688
tree1f37ae797275050fea86c3b5e6c97bfb3e9692e8
parent0201244c3c8b6bdaa1e3ff47ab51ba3626d9c060
tools: kwbimage: Add support for dumping NAND_BLKSZ for v0 images

In Dove functional specification, which use kwbimage v0, is also defined
nand block size field. So dump NAND_BLKSZ also for v0 images.

In Kirkwood functional specification, which also use kwbimage v0, this
field is not defined. So when it is zero and Kirkwood is detected, do not
dump it.

Fixes: f76ae2571fe0 ("tools: kwbimage: Add support for dumping extended and binary v0 headers")
Signed-off-by: Pali Rohár <pali@kernel.org>
tools/kwbimage.c