Lines Matching refs:rsp
147 static void do_boot(struct boot_rsp *rsp) in do_boot() argument
158 vt = (struct arm_vector_table *)(rsp->br_hdr->ih_load_addr + rsp->br_hdr->ih_hdr_size); in do_boot()
165 rc = flash_area_open(rsp->br_flash_dev_id, &fap); in do_boot()
168 rc = flash_area_read(fap, rsp->br_hdr->ih_hdr_size, dst, sizeof(dst)); in do_boot()
278 static void do_boot(struct boot_rsp *rsp) in do_boot() argument
284 BOOT_LOG_INF("br_image_off = 0x%x\n", rsp->br_image_off); in do_boot()
285 BOOT_LOG_INF("ih_hdr_size = 0x%x\n", rsp->br_hdr->ih_hdr_size); in do_boot()
288 int slot = (rsp->br_image_off == IMAGE0_PRIMARY_START_ADDRESS) ? in do_boot()
291 start_cpu0_image(IMAGE_INDEX_0, slot, rsp->br_hdr->ih_hdr_size); in do_boot()
294 copy_img_to_SRAM(0, rsp->br_hdr->ih_hdr_size); in do_boot()
297 start = (void *)(SRAM_BASE_ADDRESS + rsp->br_hdr->ih_hdr_size); in do_boot()
307 static void do_boot(struct boot_rsp *rsp) in do_boot() argument
312 start = (void *)(rsp->br_hdr->ih_load_addr + rsp->br_hdr->ih_hdr_size); in do_boot()
317 rc = flash_device_base(rsp->br_flash_dev_id, &flash_base); in do_boot()
320 start = (void *)(flash_base + rsp->br_image_off + in do_boot()
321 rsp->br_hdr->ih_hdr_size); in do_boot()
414 struct boot_rsp rsp; local
501 FIH_CALL(boot_go, fih_rc, &rsp);
550 rsp.br_hdr->ih_load_addr);
553 rsp.br_image_off);
556 BOOT_LOG_INF("Image version: v%d.%d.%d", rsp.br_hdr->ih_ver.iv_major,
557 rsp.br_hdr->ih_ver.iv_minor,
558 rsp.br_hdr->ih_ver.iv_revision);
569 do_boot(&rsp);