]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Add support for NAND_PAGE_SIZE command also for v1 images
authorPali Rohár <pali@kernel.org>
Fri, 22 Oct 2021 10:37:46 +0000 (12:37 +0200)
committerStefan Roese <sr@denx.de>
Thu, 28 Oct 2021 08:33:32 +0000 (10:33 +0200)
commit2fdba4f6585c31da748eee69a8dea1cf0a11d311
tree595b9a3e2a8cc2e158fcff0026b439ba02c5fda5
parent59102987be25920b2180ebe2a18fbaf56c5a8278
tools: kwbimage: Add support for NAND_PAGE_SIZE command also for v1 images

The NAND_PAGE_SIZE command is already supported by mkimage for v0 images,
but not for v1 images.

A38x and A39x BootROM supports reading NAND flash page size from v1 image
in the same way as Kirkwood BootROM from v0 image. It it documented in A38x
and A39x Functional Specification.

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