Home
last modified time | relevance | path

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

/openbmc/u-boot/tools/
H A Dmtk_image.c404 tparams->header_size = sizeof(struct gen_device_header); in mtk_image_vrec_header()
647 struct gen_device_header *hdr = (struct gen_device_header *)ptr; in mtk_image_set_gen_header()
665 hdr->brlyt.header_size = cpu_to_le32(sizeof(struct gen_device_header)); in mtk_image_set_gen_header()
671 gfh = (struct gfh_header *)(ptr + sizeof(struct gen_device_header)); in mtk_image_set_gen_header()
672 put_ghf_header(gfh, filesize, sizeof(struct gen_device_header), in mtk_image_set_gen_header()
677 filesize - sizeof(struct gen_device_header) - SHA256_SUM_LEN); in mtk_image_set_gen_header()
H A Dmtk_image.h80 struct gen_device_header { struct