Lines Matching refs:images
77 static void linux_cmdline_legacy(bootm_headers_t *images) in linux_cmdline_legacy() argument
117 static void linux_cmdline_append(bootm_headers_t *images) in linux_cmdline_append() argument
128 rd_start = images->initrd_start; in linux_cmdline_append()
129 rd_size = images->initrd_end - images->initrd_start; in linux_cmdline_append()
170 static void linux_env_legacy(bootm_headers_t *images) in linux_env_legacy() argument
186 rd_start = UNCACHED_SDRAM(images->initrd_start); in linux_env_legacy()
187 rd_size = images->initrd_end - images->initrd_start; in linux_env_legacy()
219 static int boot_reloc_fdt(bootm_headers_t *images) in boot_reloc_fdt() argument
225 if (images->state & BOOTM_STATE_FDT) { in boot_reloc_fdt()
231 boot_fdt_add_mem_rsv_regions(&images->lmb, images->ft_addr); in boot_reloc_fdt()
232 return boot_relocate_fdt(&images->lmb, &images->ft_addr, in boot_reloc_fdt()
233 &images->ft_len); in boot_reloc_fdt()
249 static int boot_setup_fdt(bootm_headers_t *images) in boot_setup_fdt() argument
251 images->initrd_start = virt_to_phys((void *)images->initrd_start); in boot_setup_fdt()
252 images->initrd_end = virt_to_phys((void *)images->initrd_end); in boot_setup_fdt()
253 return image_setup_libfdt(images, images->ft_addr, images->ft_len, in boot_setup_fdt()
254 &images->lmb); in boot_setup_fdt()
257 static void boot_prep_linux(bootm_headers_t *images) in boot_prep_linux() argument
259 if (CONFIG_IS_ENABLED(MIPS_BOOT_FDT) && images->ft_len) { in boot_prep_linux()
260 boot_reloc_fdt(images); in boot_prep_linux()
261 boot_setup_fdt(images); in boot_prep_linux()
264 linux_cmdline_legacy(images); in boot_prep_linux()
267 linux_cmdline_append(images); in boot_prep_linux()
273 linux_env_legacy(images); in boot_prep_linux()
277 static void boot_jump_linux(bootm_headers_t *images) in boot_jump_linux() argument
280 kernel_entry_t kernel = (kernel_entry_t) images->ep; in boot_jump_linux()
297 if (images->ft_len) in boot_jump_linux()
298 kernel(-2, (ulong)images->ft_addr, 0, 0); in boot_jump_linux()
305 bootm_headers_t *images) in do_bootm_linux() argument
320 boot_prep_linux(images); in do_bootm_linux()
325 boot_jump_linux(images); in do_bootm_linux()