Lines Matching refs:hdr_base
305 uint32_t hdr_base; in set_imx_hdr_v1() local
312 hdr_base = entry_point - imximage_init_loadsize + flash_offset; in set_imx_hdr_v1()
313 fhdr_v1->app_dest_ptr = hdr_base - flash_offset; in set_imx_hdr_v1()
316 fhdr_v1->dcd_ptr_ptr = hdr_base + offsetof(flash_header_v1_t, dcd_ptr); in set_imx_hdr_v1()
317 fhdr_v1->dcd_ptr = hdr_base + offsetof(imx_header_v1_t, dcd_table); in set_imx_hdr_v1()
330 uint32_t hdr_base; in set_imx_hdr_v2() local
341 hdr_base = entry_point - imximage_init_loadsize + in set_imx_hdr_v2()
343 fhdr_v2->self = hdr_base; in set_imx_hdr_v2()
345 fhdr_v2->dcd_ptr = hdr_base + in set_imx_hdr_v2()
349 fhdr_v2->boot_data_ptr = hdr_base in set_imx_hdr_v2()
408 hdr_base = entry_point - sizeof(struct imx_header); in set_imx_hdr_v2()
411 next_fhdr_v2->self = hdr_base + imximage_plugin_size; in set_imx_hdr_v2()
417 next_hdr_v2->boot_data.start = hdr_base - flash_offset; in set_imx_hdr_v2()