]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Add support for DATA command also for v1 images
authorPali Rohár <pali@kernel.org>
Fri, 23 Jul 2021 09:14:11 +0000 (11:14 +0200)
committerStefan Roese <sr@denx.de>
Sat, 31 Jul 2021 07:49:31 +0000 (09:49 +0200)
commit02ba70ad6822a3d0b42fef3ab48c13b9495ecd6d
tree55d1a544e8b72e4979efe89eefc3091be32604f1
parentc9b2134b6f475dfde89012d6ce0bf7e4bdee5888
tools: kwbimage: Add support for DATA command also for v1 images

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

BootROM code which executes v1 images also supports DATA command via an
optional extended v1 header OPT_HDR_V1_REGISTER_TYPE.

Implement support for DATA command for v1 images.

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