X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Fimage.c;h=8c35327745ba2f129b04c6a12403614e7632862e;hb=d21bd69b6e95ca7824941e7f527871cd5c63c7f7;hp=909dbed1f20c9bc4c1c71884e933d6982f076bd3;hpb=15b505b0553da2d8a99ae5c1d14968e87f5c6bef;p=platform%2Fkernel%2Fu-boot.git diff --git a/common/image.c b/common/image.c index 909dbed..8c35327 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); } }