Lines Matching full:images

76 static void linux_cmdline_legacy(bootm_headers_t *images)  in linux_cmdline_legacy()  argument
116 static void linux_cmdline_append(bootm_headers_t *images) in linux_cmdline_append() argument
127 rd_start = images->initrd_start; in linux_cmdline_append()
128 rd_size = images->initrd_end - images->initrd_start; in linux_cmdline_append()
169 static void linux_env_legacy(bootm_headers_t *images) in linux_env_legacy() argument
185 rd_start = UNCACHED_SDRAM(images->initrd_start); in linux_env_legacy()
186 rd_size = images->initrd_end - images->initrd_start; in linux_env_legacy()
218 static int boot_reloc_ramdisk(bootm_headers_t *images) in boot_reloc_ramdisk() argument
220 ulong rd_len = images->rd_end - images->rd_start; in boot_reloc_ramdisk()
226 if (images->state & BOOTM_STATE_RAMDISK) { in boot_reloc_ramdisk()
231 return boot_ramdisk_high(&images->lmb, images->rd_start, in boot_reloc_ramdisk()
232 rd_len, &images->initrd_start, &images->initrd_end); in boot_reloc_ramdisk()
235 static int boot_reloc_fdt(bootm_headers_t *images) in boot_reloc_fdt() argument
241 if (images->state & BOOTM_STATE_FDT) { in boot_reloc_fdt()
247 boot_fdt_add_mem_rsv_regions(&images->lmb, images->ft_addr); in boot_reloc_fdt()
248 return boot_relocate_fdt(&images->lmb, &images->ft_addr, in boot_reloc_fdt()
249 &images->ft_len); in boot_reloc_fdt()
265 static int boot_setup_fdt(bootm_headers_t *images) in boot_setup_fdt() argument
267 return image_setup_libfdt(images, images->ft_addr, images->ft_len, in boot_setup_fdt()
268 &images->lmb); in boot_setup_fdt()
271 static void boot_prep_linux(bootm_headers_t *images) in boot_prep_linux() argument
273 boot_reloc_ramdisk(images); in boot_prep_linux()
275 if (CONFIG_IS_ENABLED(MIPS_BOOT_FDT) && images->ft_len) { in boot_prep_linux()
276 boot_reloc_fdt(images); in boot_prep_linux()
277 boot_setup_fdt(images); in boot_prep_linux()
280 linux_cmdline_legacy(images); in boot_prep_linux()
283 linux_cmdline_append(images); in boot_prep_linux()
289 linux_env_legacy(images); in boot_prep_linux()
293 static void boot_jump_linux(bootm_headers_t *images) in boot_jump_linux() argument
296 kernel_entry_t kernel = (kernel_entry_t) images->ep; in boot_jump_linux()
313 if (images->ft_len) in boot_jump_linux()
314 kernel(-2, (ulong)images->ft_addr, 0, 0); in boot_jump_linux()
321 bootm_headers_t *images) in do_bootm_linux() argument
336 boot_prep_linux(images); in do_bootm_linux()
341 boot_jump_linux(images); in do_bootm_linux()