Lines Matching refs:mc_ram_addr

108 			 u64 image_addr, u32 image_size, u64 mc_ram_addr)  in mc_copy_image()  argument
110 debug("%s copied to address %p\n", title, (void *)mc_ram_addr); in mc_copy_image()
111 memcpy((void *)mc_ram_addr, (void *)image_addr, image_size); in mc_copy_image()
112 flush_dcache_range(mc_ram_addr, mc_ram_addr + image_size); in mc_copy_image()
507 static int load_mc_dpc(u64 mc_ram_addr, size_t mc_ram_size, u64 mc_dpc_addr) in load_mc_dpc() argument
529 printf("MC DPC is preloaded to %#llx\n", mc_ram_addr + mc_dpc_offset); in load_mc_dpc()
554 (u64)dpc_fdt_hdr, dpc_size, mc_ram_addr + mc_dpc_offset); in load_mc_dpc()
557 if (mc_fixup_dpc(mc_ram_addr + mc_dpc_offset)) in load_mc_dpc()
560 dump_ram_words("DPC", (void *)(mc_ram_addr + mc_dpc_offset)); in load_mc_dpc()
583 static int load_mc_dpl(u64 mc_ram_addr, size_t mc_ram_size, u64 mc_dpl_addr) in load_mc_dpl() argument
605 printf("MC DPL is preloaded to %#llx\n", mc_ram_addr + mc_dpl_offset); in load_mc_dpl()
626 (u64)dpl_fdt_hdr, dpl_size, mc_ram_addr + mc_dpl_offset); in load_mc_dpl()
629 if (mc_fixup_dpl(mc_ram_addr + mc_dpl_offset)) in load_mc_dpl()
631 dump_ram_words("DPL", (void *)(mc_ram_addr + mc_dpl_offset)); in load_mc_dpl()
668 u64 mc_ram_addr = mc_get_dram_addr(); in load_mc_aiop_img() local
681 printf("MC AIOP is preloaded to %#llx\n", mc_ram_addr + in load_mc_aiop_img()
687 mc_ram_addr + CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET); in load_mc_aiop_img()
746 u64 mc_ram_addr = mc_get_dram_addr(); in mc_init() local
787 printf("MC firmware is preloaded to %#llx\n", mc_ram_addr); in mc_init()
797 (u64)raw_image_addr, raw_image_size, mc_ram_addr); in mc_init()
799 dump_ram_words("firmware", (void *)mc_ram_addr); in mc_init()
801 error = load_mc_dpc(mc_ram_addr, mc_ram_size, mc_dpc_addr); in mc_init()
812 reg_mcfbalr = (u32)mc_ram_addr | in mc_init()
815 reg_mcfbalr = (u32)mc_ram_addr | in mc_init()
821 (u32)(mc_ram_addr >> 32)); in mc_init()
884 u64 mc_ram_addr = mc_get_dram_addr(); in mc_apply_dpl() local
890 error = load_mc_dpl(mc_ram_addr, mc_ram_size, mc_dpl_addr); in mc_apply_dpl()
1622 u64 mc_ram_addr = mc_get_dram_addr(); in mc_apply_spb() local
1648 mc_ram_addr + mc_spb_offset); in mc_apply_spb()