Lines Matching refs:parthdr
324 struct partition_header parthdr = { in bif_add_part() local
348 parthdr.offset = cpu_to_le32(bf->offset / 4); in bif_add_part()
356 parthdr.offset = cpu_to_le32(bif_output.header->image_offset); in bif_add_part()
357 parthdr.len = cpu_to_le32((bf->offset + len - in bif_add_part()
359 parthdr.len_enc = parthdr.len; in bif_add_part()
360 parthdr.len_unenc = parthdr.len; in bif_add_part()
365 parthdr.attributes |= bf->exp_lvl << PART_ATTR_TARGET_EL_SHIFT; in bif_add_part()
366 parthdr.attributes |= bf->dest_dev; in bif_add_part()
367 parthdr.attributes |= bf->dest_cpu; in bif_add_part()
369 parthdr.attributes |= PART_ATTR_TZ_SECURE; in bif_add_part()
371 parthdr.attributes |= PART_ATTR_PART_OWNER_UBOOT; in bif_add_part()
379 parthdr.attributes |= PART_ATTR_A53_EXEC_AARCH32; in bif_add_part()
382 csum = zynqmp_csum(&parthdr, &parthdr.checksum); in bif_add_part()
383 parthdr.checksum = cpu_to_le32(csum); in bif_add_part()
385 r = bif_add_blob(&parthdr, sizeof(parthdr), &parthdr_offset); in bif_add_part()