Home
last modified time | relevance | path

Searched refs:relocaddr (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/u-boot/common/
H A Dboard_f.c317 gd->relocaddr = gd->ram_top; in setup_dest_addr()
324 if (gd->relocaddr > determine_mp_bootpg(NULL)) { in setup_dest_addr()
325 gd->relocaddr = determine_mp_bootpg(NULL); in setup_dest_addr()
326 debug("Reserving MP boot page to %08lx\n", gd->relocaddr); in setup_dest_addr()
339 gd->relocaddr -= (reg << 10); /* size is in kB */ in reserve_pram()
341 gd->relocaddr); in reserve_pram()
349 gd->relocaddr &= ~(4096 - 1); in reserve_round_4k()
359 gd->relocaddr -= gd->arch.tlb_size; in reserve_mmu()
362 gd->relocaddr &= ~(0x10000 - 1); in reserve_mmu()
364 gd->arch.tlb_addr = gd->relocaddr; in reserve_mmu()
[all …]
H A Dboard_r.c163 monitor_flash_len = (ulong)&__init_end - gd->relocaddr; in initr_reloc_global_data()
171 gd->arch.cpu += gd->relocaddr - CONFIG_SYS_MONITOR_BASE; in initr_reloc_global_data()
187 gd->env_addr += gd->relocaddr - CONFIG_SYS_MONITOR_BASE; in initr_reloc_global_data()
197 efi_runtime_relocate(gd->relocaddr, NULL); in initr_reloc_global_data()
216 trap_init(gd->relocaddr); in initr_trap()
278 malloc_start = gd->relocaddr - TOTAL_MALLOC_LEN; in initr_malloc()
364 addr = gd->relocaddr; in initr_announce()
/OK3568_Linux_fs/u-boot/arch/mips/lib/
H A Dreloc.c108 void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaddr) in relocate_code() argument
121 off = relocaddr - (unsigned long)__text_start; in relocate_code()
127 memcpy((void *)relocaddr, __text_start, length); in relocate_code()
131 addr = relocaddr; in relocate_code()
142 flush_cache(relocaddr, length); in relocate_code()
159 "r"(relocaddr), in relocate_code()
/OK3568_Linux_fs/u-boot/arch/x86/cpu/qemu/
H A De820.c28 entries[2].size = gd->relocaddr - TOTAL_MALLOC_LEN - ISA_END_ADDRESS; in install_e820_map()
32 entries[3].addr = gd->relocaddr - TOTAL_MALLOC_LEN; in install_e820_map()
36 entries[4].addr = gd->relocaddr; in install_e820_map()
37 entries[4].size = gd->ram_size - gd->relocaddr; in install_e820_map()
/OK3568_Linux_fs/u-boot/board/nokia/rx51/
H A Dlowlevel_init.S10 relocaddr: /* address of this relocaddr section after coping */ label
46 adr r0, relocaddr /* r0 - address of section relocaddr */
47 ldr r1, relocaddr /* r1 - address of relocaddr after relocation */
95 adr r0, relocaddr /* r0 - address of section relocaddr */
96 ldr r1, relocaddr /* r1 - address of relocaddr after relocation */
/OK3568_Linux_fs/u-boot/arch/sh/lib/
H A Dboard.c19 void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaddr) in relocate_code() argument
24 memcpy((void *)new_gd->relocaddr, in relocate_code()
25 (void *)(new_gd->relocaddr - new_gd->reloc_off), in relocate_code()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dmp.c98 printf("Waking secondary cores to start from %lx\n", gd->relocaddr); in fsl_layerscape_wake_seconday_cores()
101 gur_out32(&gur->bootlocptrh, (u32)(gd->relocaddr >> 32)); in fsl_layerscape_wake_seconday_cores()
102 gur_out32(&gur->bootlocptrl, (u32)gd->relocaddr); in fsl_layerscape_wake_seconday_cores()
138 scfg_out32(&scfg->scratchrw[0], (u32)(gd->relocaddr >> 32)); in fsl_layerscape_wake_seconday_cores()
139 scfg_out32(&scfg->scratchrw[1], (u32)gd->relocaddr); in fsl_layerscape_wake_seconday_cores()
/OK3568_Linux_fs/u-boot/cmd/
H A Dbdinfo.c208 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
249 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
294 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
328 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
/OK3568_Linux_fs/u-boot/lib/efi_loader/
H A Defi_runtime.c204 ulong patchoff = offset - (ulong)gd->relocaddr; in efi_runtime_detach()
232 p = (void*)((ulong)rel->offset - base) + gd->relocaddr; in efi_runtime_relocate()
311 (runtime_start - gd->relocaddr); in efi_set_virtual_address_map()
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.arm-relocation167 or get it from gd->relocaddr in gdb
179 relocaddr = 0x8ff08000
187 specified by gd->relocaddr -- this is only valid after board_init_f.
189 (gdb) set $s = gd->relocaddr
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl.c340 gd->relocaddr = CONFIG_SPL_RELOC_TEXT_BASE; in spl_setup_relocate()
342 gd->start_addr_sp = gd->relocaddr; in spl_setup_relocate()
350 gd->reloc_off = gd->relocaddr - (unsigned long)__image_copy_start; in spl_setup_relocate()
/OK3568_Linux_fs/u-boot/lib/
H A Dasm-offsets.c35 DEFINE(GD_RELOCADDR, offsetof(struct global_data, relocaddr)); in main()
H A Dtrace.c53 offset -= gd->relocaddr; in func_ptr_to_num()
/OK3568_Linux_fs/u-boot/common/usbplug/
H A Dusbplug.c33 malloc_start = gd->relocaddr - TOTAL_MALLOC_LEN; in initr_malloc()
/OK3568_Linux_fs/u-boot/arch/arc/lib/
H A Drelocate.c20 memcpy((void *)gd->relocaddr, (void *)&__image_copy_start, len); in copy_uboot_to_ram()
/OK3568_Linux_fs/u-boot/board/broadcom/bcmstb/
H A Dbcmstb.c69 gd->relocaddr = CONFIG_SYS_TEXT_BASE; in dram_init_banksize()
/OK3568_Linux_fs/u-boot/include/asm-generic/
H A Dglobal_data.h71 unsigned long relocaddr; /* Start address of U-Boot in RAM */ member
/OK3568_Linux_fs/u-boot/arch/x86/lib/
H A Drelocate.c33 memcpy((void *)gd->relocaddr, (void *)&__text_start, len); in copy_uboot_to_ram()
H A Dphysmem.c145 gd->relocaddr - CONFIG_SYS_MALLOC_LEN - CONFIG_SYS_STACK_SIZE); in x86_phys_memset_page()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dmxs.c96 mx28_fixup_vt(gd->relocaddr); in arch_misc_init()