Home
last modified time | relevance | path

Searched refs:zynqhdr (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/tools/
Dzynqmpimage.c122 struct zynqmp_header *zynqhdr = (struct zynqmp_header *)ptr; in zynqmpimage_verify_header() local
127 if (zynqhdr->width_detection != HEADER_WIDTHDETECTION) in zynqmpimage_verify_header()
129 if (zynqhdr->image_identifier != HEADER_IMAGEIDENTIFIER) in zynqmpimage_verify_header()
132 if (zynqmpimage_checksum(zynqhdr) != zynqhdr->checksum) in zynqmpimage_verify_header()
214 struct zynqmp_header *zynqhdr = (struct zynqmp_header *)ptr; in zynqmpimage_print_header() local
218 printf("Image Offset : 0x%08x\n", le32_to_cpu(zynqhdr->image_offset)); in zynqmpimage_print_header()
220 (unsigned long)le32_to_cpu(zynqhdr->image_size), in zynqmpimage_print_header()
221 (unsigned long)le32_to_cpu(zynqhdr->image_stored_size)); in zynqmpimage_print_header()
223 if (zynqhdr->pfw_image_length) in zynqmpimage_print_header()
225 (unsigned long)le32_to_cpu(zynqhdr->pfw_image_length), in zynqmpimage_print_header()
[all …]
Dzynqimage.c144 struct zynq_header *zynqhdr = (struct zynq_header *)ptr; in zynqimage_verify_header() local
149 if (zynqhdr->__reserved1 != 0) in zynqimage_verify_header()
152 if (zynqhdr->__reserved2 != 0) in zynqimage_verify_header()
155 if (zynqhdr->width_detection != HEADER_WIDTHDETECTION) in zynqimage_verify_header()
157 if (zynqhdr->image_identifier != HEADER_IMAGEIDENTIFIER) in zynqimage_verify_header()
160 if (zynqimage_checksum(zynqhdr) != zynqhdr->checksum) in zynqimage_verify_header()
168 struct zynq_header *zynqhdr = (struct zynq_header *)ptr; in zynqimage_print_header() local
172 printf("Image Offset : 0x%08x\n", le32_to_cpu(zynqhdr->image_offset)); in zynqimage_print_header()
174 (unsigned long)le32_to_cpu(zynqhdr->image_size), in zynqimage_print_header()
175 (unsigned long)le32_to_cpu(zynqhdr->image_stored_size)); in zynqimage_print_header()
[all …]