Lines Matching full:images
225 static void boot_prep_linux(bootm_headers_t *images) in boot_prep_linux() argument
229 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) { in boot_prep_linux()
232 if (image_setup_linux(images)) { in boot_prep_linux()
251 * a specified location. And set images->initrd_start & in boot_prep_linux()
252 * images->initrd_end to relocated ramdisk's start/end in boot_prep_linux()
253 * addresses. So use them instead of images->rd_start & in boot_prep_linux()
254 * images->rd_end when possible. in boot_prep_linux()
256 if (images->initrd_start && images->initrd_end) { in boot_prep_linux()
257 setup_initrd_tag(gd->bd, images->initrd_start, in boot_prep_linux()
258 images->initrd_end); in boot_prep_linux()
259 } else if (images->rd_start && images->rd_end) { in boot_prep_linux()
260 setup_initrd_tag(gd->bd, images->rd_start, in boot_prep_linux()
261 images->rd_end); in boot_prep_linux()
306 (images.os.arch == IH_ARCH_ARM)) in switch_to_el1()
308 (u64)images.ft_addr, 0, in switch_to_el1()
309 (u64)images.ep, in switch_to_el1()
312 armv8_switch_to_el1((u64)images.ft_addr, 0, 0, 0, in switch_to_el1()
313 images.ep, in switch_to_el1()
320 static void boot_jump_linux(bootm_headers_t *images, int flag) in boot_jump_linux() argument
328 void *res2))images->ep; in boot_jump_linux()
342 update_os_arch_secondary_cores(images->os.arch); in boot_jump_linux()
345 armv8_switch_to_el2((u64)images->ft_addr, 0, 0, 0, in boot_jump_linux()
349 (images->os.arch == IH_ARCH_ARM)) in boot_jump_linux()
351 (u64)images->ft_addr, 0, in boot_jump_linux()
352 (u64)images->ep, in boot_jump_linux()
355 armv8_switch_to_el2((u64)images->ft_addr, 0, 0, 0, in boot_jump_linux()
356 images->ep, in boot_jump_linux()
367 kernel_entry = (void (*)(int, int, uint))images->ep; in boot_jump_linux()
386 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) in boot_jump_linux()
387 r2 = (unsigned long)images->ft_addr; in boot_jump_linux()
411 bootm_headers_t *images) in do_bootm_linux() argument
418 boot_prep_linux(images); in do_bootm_linux()
423 boot_jump_linux(images, flag); in do_bootm_linux()
427 boot_prep_linux(images); in do_bootm_linux()
428 boot_jump_linux(images, flag); in do_bootm_linux()
433 void boot_prep_vxworks(bootm_headers_t *images) in boot_prep_vxworks() argument
438 if (images->ft_addr) { in boot_prep_vxworks()
439 off = fdt_path_offset(images->ft_addr, "/memory"); in boot_prep_vxworks()
441 if (arch_fixup_fdt(images->ft_addr)) in boot_prep_vxworks()
448 void boot_jump_vxworks(bootm_headers_t *images) in boot_jump_vxworks() argument
456 ((void (*)(void *))images->ep)(images->ft_addr); in boot_jump_vxworks()