Searched refs:v1_raw (Results 1 – 1 of 1) sorted by relevance
64 struct mcuboot_v1_raw_header *v1_raw) in boot_read_v1_header() argument77 rc = flash_area_read(fa, 0, v1_raw, sizeof(*v1_raw)); in boot_read_v1_header()83 v1_raw->header_magic = sys_le32_to_cpu(v1_raw->header_magic); in boot_read_v1_header()84 v1_raw->image_load_address = in boot_read_v1_header()85 sys_le32_to_cpu(v1_raw->image_load_address); in boot_read_v1_header()86 v1_raw->header_size = sys_le16_to_cpu(v1_raw->header_size); in boot_read_v1_header()87 v1_raw->image_size = sys_le32_to_cpu(v1_raw->image_size); in boot_read_v1_header()88 v1_raw->image_flags = sys_le32_to_cpu(v1_raw->image_flags); in boot_read_v1_header()89 v1_raw->version.revision = in boot_read_v1_header()90 sys_le16_to_cpu(v1_raw->version.revision); in boot_read_v1_header()[all …]