diff options
author | Tom Rini <trini@konsulko.com> | 2017-01-02 16:32:05 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-02 16:32:05 -0500 |
commit | 516457013e5a88f65f9d6c11e9171cb03871cc92 (patch) | |
tree | 583cfafeddbacd1d1a456f49f1e687c4eb8e062c /common/image.c | |
parent | 99b02b4dce0b2fc759fb8ced5701c0d4fb7b2200 (diff) | |
parent | 7c4f0ff81e6fc3b58b8af5f64c3da98624e40132 (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'common/image.c')
-rw-r--r-- | common/image.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c index 909dbed1f2..8c35327745 100644 --- a/common/image.c +++ b/common/image.c @@ -166,6 +166,7 @@ static const table_entry_t uimage_type[] = { { IH_TYPE_ZYNQMPIMAGE, "zynqmpimage", "Xilinx ZynqMP Boot Image" }, { IH_TYPE_FPGA, "fpga", "FPGA Image" }, { IH_TYPE_TEE, "tee", "Trusted Execution Environment Image",}, + { IH_TYPE_FIRMWARE_IVT, "firmware_ivt", "Firmware with HABv4 IVT" }, { -1, "", "", }, }; @@ -365,6 +366,11 @@ void image_print_contents(const void *ptr) printf("%s Offset = 0x%08lx\n", p, data); } } + } else if (image_check_type(hdr, IH_TYPE_FIRMWARE_IVT)) { + printf("HAB Blocks: 0x%08x 0x0000 0x%08x\n", + image_get_load(hdr) - image_get_header_size(), + image_get_size(hdr) + image_get_header_size() + - 0x1FE0); } } |