Lines Matching full:images
73 __weak void board_quiesce_devices(void *images) in board_quiesce_devices() argument
82 static void announce_and_cleanup(bootm_headers_t *images, int fake) in announce_and_cleanup() argument
98 board_quiesce_devices(images); in announce_and_cleanup()
233 static void boot_prep_linux(bootm_headers_t *images) in boot_prep_linux() argument
237 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) { in boot_prep_linux()
240 if (image_setup_linux(images)) { in boot_prep_linux()
259 * a specified location. And set images->initrd_start & in boot_prep_linux()
260 * images->initrd_end to relocated ramdisk's start/end in boot_prep_linux()
261 * addresses. So use them instead of images->rd_start & in boot_prep_linux()
262 * images->rd_end when possible. in boot_prep_linux()
264 if (images->initrd_start && images->initrd_end) { in boot_prep_linux()
265 setup_initrd_tag(gd->bd, images->initrd_start, in boot_prep_linux()
266 images->initrd_end); in boot_prep_linux()
267 } else if (images->rd_start && images->rd_end) { in boot_prep_linux()
268 setup_initrd_tag(gd->bd, images->rd_start, in boot_prep_linux()
269 images->rd_end); in boot_prep_linux()
314 (images.os.arch == IH_ARCH_ARM)) in switch_to_el1()
316 (u64)images.ft_addr, 0, in switch_to_el1()
317 (u64)images.ep, in switch_to_el1()
320 armv8_switch_to_el1((u64)images.ft_addr, 0, 0, 0, in switch_to_el1()
321 images.ep, in switch_to_el1()
328 static int arm64_switch_aarch32(bootm_headers_t *images) in arm64_switch_aarch32() argument
330 void *fdt = images->ft_addr; in arm64_switch_aarch32()
337 images->os.arch = IH_ARCH_ARM; in arm64_switch_aarch32()
379 static void boot_jump_linux(bootm_headers_t *images, int flag) in boot_jump_linux() argument
388 es_flag = arm64_switch_amp_pe(images); in boot_jump_linux()
390 es_flag = arm64_switch_aarch32(images); in boot_jump_linux()
393 void *res2))images->ep; in boot_jump_linux()
399 announce_and_cleanup(images, fake); in boot_jump_linux()
407 update_os_arch_secondary_cores(images->os.arch); in boot_jump_linux()
410 armv8_switch_to_el2((u64)images->ft_addr, 0, 0, 0, in boot_jump_linux()
414 (images->os.arch == IH_ARCH_ARM)) in boot_jump_linux()
416 (u64)images->ft_addr, es_flag, in boot_jump_linux()
417 (u64)images->ep, in boot_jump_linux()
420 armv8_switch_to_el2((u64)images->ft_addr, 0, 0, es_flag, in boot_jump_linux()
421 images->ep, in boot_jump_linux()
432 kernel_entry = (void (*)(int, int, uint))images->ep; in boot_jump_linux()
449 announce_and_cleanup(images, fake); in boot_jump_linux()
451 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) in boot_jump_linux()
452 r2 = (unsigned long)images->ft_addr; in boot_jump_linux()
476 bootm_headers_t *images) in do_bootm_linux() argument
483 boot_prep_linux(images); in do_bootm_linux()
488 boot_jump_linux(images, flag); in do_bootm_linux()
492 boot_prep_linux(images); in do_bootm_linux()
493 boot_jump_linux(images, flag); in do_bootm_linux()
498 void boot_prep_vxworks(bootm_headers_t *images) in boot_prep_vxworks() argument
503 if (images->ft_addr) { in boot_prep_vxworks()
504 off = fdt_path_offset(images->ft_addr, "/memory"); in boot_prep_vxworks()
506 if (arch_fixup_fdt(images->ft_addr)) in boot_prep_vxworks()
513 void boot_jump_vxworks(bootm_headers_t *images) in boot_jump_vxworks() argument
516 ((void (*)(void *))images->ep)(images->ft_addr); in boot_jump_vxworks()