]> git.baikalelectronics.ru Git - uboot.git/commit
tools: mkimage: Do not fill legacy_img_hdr for non-legacy XIP images
authorPali Rohár <pali@kernel.org>
Sat, 21 Jan 2023 19:05:43 +0000 (20:05 +0100)
committerStefan Roese <sr@denx.de>
Wed, 1 Mar 2023 05:39:17 +0000 (06:39 +0100)
commit09e7b8ac9b23e033455595a6f3fbda1999b17f53
tree22eba4a033749030b7c46e8fdb4e3c059d96962c
parent0947dd2757af12097cdb6262a37d09ee9826fbaa
tools: mkimage: Do not fill legacy_img_hdr for non-legacy XIP images

Skip filling legacy_img_hdr structure for XIP images which do not use
legacy_img_hdr structure header. Adding unwanted header to other image
formats, like kwbimage cause generation of broken image.

Signed-off-by: Pali Rohár <pali@kernel.org>
tools/mkimage.c