Searched refs:v1_raw (Results 1 – 1 of 1) sorted by relevance
99 struct mcuboot_v1_raw_header *v1_raw) in boot_read_v1_header() argument112 rc = flash_area_read(fa, 0, v1_raw, sizeof(*v1_raw)); in boot_read_v1_header()118 v1_raw->header_magic = sys_le32_to_cpu(v1_raw->header_magic); in boot_read_v1_header()119 v1_raw->image_load_address = in boot_read_v1_header()120 sys_le32_to_cpu(v1_raw->image_load_address); in boot_read_v1_header()121 v1_raw->header_size = sys_le16_to_cpu(v1_raw->header_size); in boot_read_v1_header()122 v1_raw->image_size = sys_le32_to_cpu(v1_raw->image_size); in boot_read_v1_header()123 v1_raw->image_flags = sys_le32_to_cpu(v1_raw->image_flags); in boot_read_v1_header()124 v1_raw->version.revision = in boot_read_v1_header()125 sys_le16_to_cpu(v1_raw->version.revision); in boot_read_v1_header()[all …]