Lines Matching refs:mc_ram_addr
94 u64 image_addr, u32 image_size, u64 mc_ram_addr) in mc_copy_image() argument
96 debug("%s copied to address %p\n", title, (void *)mc_ram_addr); in mc_copy_image()
97 memcpy((void *)mc_ram_addr, (void *)image_addr, image_size); in mc_copy_image()
98 flush_dcache_range(mc_ram_addr, mc_ram_addr + image_size); in mc_copy_image()
397 static int load_mc_dpc(u64 mc_ram_addr, size_t mc_ram_size, u64 mc_dpc_addr) in load_mc_dpc() argument
419 printf("MC DPC is preloaded to %#llx\n", mc_ram_addr + mc_dpc_offset); in load_mc_dpc()
444 (u64)dpc_fdt_hdr, dpc_size, mc_ram_addr + mc_dpc_offset); in load_mc_dpc()
447 if (mc_fixup_dpc(mc_ram_addr + mc_dpc_offset)) in load_mc_dpc()
450 dump_ram_words("DPC", (void *)(mc_ram_addr + mc_dpc_offset)); in load_mc_dpc()
473 static int load_mc_dpl(u64 mc_ram_addr, size_t mc_ram_size, u64 mc_dpl_addr) in load_mc_dpl() argument
495 printf("MC DPL is preloaded to %#llx\n", mc_ram_addr + mc_dpl_offset); in load_mc_dpl()
516 (u64)dpl_fdt_hdr, dpl_size, mc_ram_addr + mc_dpl_offset); in load_mc_dpl()
519 if (mc_fixup_dpl(mc_ram_addr + mc_dpl_offset)) in load_mc_dpl()
521 dump_ram_words("DPL", (void *)(mc_ram_addr + mc_dpl_offset)); in load_mc_dpl()
558 u64 mc_ram_addr = mc_get_dram_addr(); in load_mc_aiop_img() local
571 printf("MC AIOP is preloaded to %#llx\n", mc_ram_addr + in load_mc_aiop_img()
577 mc_ram_addr + CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET); in load_mc_aiop_img()
636 u64 mc_ram_addr = mc_get_dram_addr(); in mc_init() local
671 printf("MC firmware is preloaded to %#llx\n", mc_ram_addr); in mc_init()
681 (u64)raw_image_addr, raw_image_size, mc_ram_addr); in mc_init()
683 dump_ram_words("firmware", (void *)mc_ram_addr); in mc_init()
685 error = load_mc_dpc(mc_ram_addr, mc_ram_size, mc_dpc_addr); in mc_init()
695 reg_mcfbalr = (u32)mc_ram_addr | in mc_init()
699 (u32)(mc_ram_addr >> 32)); in mc_init()
762 u64 mc_ram_addr = mc_get_dram_addr(); in mc_apply_dpl() local
768 error = load_mc_dpl(mc_ram_addr, mc_ram_size, mc_dpl_addr); in mc_apply_dpl()