Lines Matching refs:header_size
830 uint32_t header_size; in imximage_set_header() local
847 header_size = sizeof(flash_header_v1_t); in imximage_set_header()
849 header_size = sizeof(flash_header_v2_t) + sizeof(boot_data_t); in imximage_set_header()
851 header_size += sizeof(dcd_v2_t); in imximage_set_header()
853 header_size += MAX_PLUGIN_CODE_SIZE; in imximage_set_header()
856 if (imximage_init_loadsize < imximage_ivt_offset + header_size) in imximage_set_header()
857 imximage_init_loadsize = imximage_ivt_offset + header_size; in imximage_set_header()
909 uint32_t pad_len, header_size; in imximage_generate() local
928 header_size = sizeof(imx_header_v1_t); in imximage_generate()
930 header_size = sizeof(flash_header_v2_t) + sizeof(boot_data_t); in imximage_generate()
932 header_size += sizeof(dcd_v2_t); in imximage_generate()
934 header_size += MAX_PLUGIN_CODE_SIZE; in imximage_generate()
937 if (imximage_init_loadsize < imximage_ivt_offset + header_size) in imximage_generate()
938 imximage_init_loadsize = imximage_ivt_offset + header_size; in imximage_generate()
942 if (alloc_len < header_size) { in imximage_generate()
958 tparams->header_size = alloc_len; in imximage_generate()