Home
last modified time | relevance | path

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

/external/u-boot/common/
Dboard_f.c288 gd->relocaddr = gd->ram_top; in setup_dest_addr()
295 if (gd->relocaddr > determine_mp_bootpg(NULL)) { in setup_dest_addr()
296 gd->relocaddr = determine_mp_bootpg(NULL); in setup_dest_addr()
297 debug("Reserving MP boot page to %08lx\n", gd->relocaddr); in setup_dest_addr()
310 gd->relocaddr -= (reg << 10); /* size is in kB */ in reserve_pram()
312 gd->relocaddr); in reserve_pram()
320 gd->relocaddr &= ~(4096 - 1); in reserve_round_4k()
330 gd->relocaddr -= gd->arch.tlb_size; in reserve_mmu()
333 gd->relocaddr &= ~(0x10000 - 1); in reserve_mmu()
335 gd->arch.tlb_addr = gd->relocaddr; in reserve_mmu()
[all …]
Dboard_r.c127 monitor_flash_len = (ulong)&__init_end - gd->relocaddr; in initr_reloc_global_data()
135 gd->arch.cpu += gd->relocaddr - CONFIG_SYS_MONITOR_BASE; in initr_reloc_global_data()
151 gd->env_addr += gd->relocaddr - CONFIG_SYS_MONITOR_BASE; in initr_reloc_global_data()
161 efi_runtime_relocate(gd->relocaddr, NULL); in initr_reloc_global_data()
180 trap_init(gd->relocaddr); in initr_trap()
242 malloc_start = gd->relocaddr - TOTAL_MALLOC_LEN; in initr_malloc()
320 debug("Now running in RAM - U-Boot at: %08lx\n", gd->relocaddr); in initr_announce()
/external/u-boot/arch/mips/lib/
Dreloc.c107 void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaddr) in relocate_code() argument
120 off = relocaddr - (unsigned long)__text_start; in relocate_code()
126 memcpy((void *)relocaddr, __text_start, length); in relocate_code()
130 addr = relocaddr; in relocate_code()
141 flush_cache(relocaddr, length); in relocate_code()
158 "r"(relocaddr), in relocate_code()
/external/u-boot/arch/x86/cpu/qemu/
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()
/external/u-boot/board/nokia/rx51/
Dlowlevel_init.S9 relocaddr: /* address of this relocaddr section after coping */ label
45 adr r0, relocaddr /* r0 - address of section relocaddr */
46 ldr r1, relocaddr /* r1 - address of relocaddr after relocation */
94 adr r0, relocaddr /* r0 - address of section relocaddr */
95 ldr r1, relocaddr /* r1 - address of relocaddr after relocation */
/external/u-boot/arch/sh/lib/
Dboard.c18 void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaddr) in relocate_code() argument
23 memcpy((void *)new_gd->relocaddr, in relocate_code()
24 (void *)(new_gd->relocaddr - new_gd->reloc_off), in relocate_code()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dmp.c97 printf("Waking secondary cores to start from %lx\n", gd->relocaddr); in fsl_layerscape_wake_seconday_cores()
100 gur_out32(&gur->bootlocptrh, (u32)(gd->relocaddr >> 32)); in fsl_layerscape_wake_seconday_cores()
101 gur_out32(&gur->bootlocptrl, (u32)gd->relocaddr); in fsl_layerscape_wake_seconday_cores()
137 scfg_out32(&scfg->scratchrw[0], (u32)(gd->relocaddr >> 32)); in fsl_layerscape_wake_seconday_cores()
138 scfg_out32(&scfg->scratchrw[1], (u32)gd->relocaddr); in fsl_layerscape_wake_seconday_cores()
/external/u-boot/cmd/
Dbdinfo.c207 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
248 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
293 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
327 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
379 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
/external/u-boot/doc/
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
/external/u-boot/lib/efi_loader/
Defi_runtime.c241 ulong patchoff = offset - (ulong)gd->relocaddr; in efi_runtime_detach()
269 p = (void*)((ulong)rel->offset - base) + gd->relocaddr; in efi_runtime_relocate()
362 (runtime_start - gd->relocaddr); in efi_set_virtual_address_map()
/external/u-boot/lib/
Dasm-offsets.c34 DEFINE(GD_RELOCADDR, offsetof(struct global_data, relocaddr)); in main()
Dtrace.c52 offset -= gd->relocaddr; in func_ptr_to_num()
/external/u-boot/include/asm-generic/
Dglobal_data.h56 unsigned long relocaddr; /* Start address of U-Boot in RAM */ member
/external/u-boot/arch/arc/lib/
Drelocate.c24 memcpy((void *)gd->relocaddr, (void *)&__image_copy_start, len); in copy_uboot_to_ram()
/external/u-boot/arch/x86/lib/
Drelocate.c32 memcpy((void *)gd->relocaddr, (void *)&__text_start, len); in copy_uboot_to_ram()
Dphysmem.c145 gd->relocaddr - CONFIG_SYS_MALLOC_LEN - CONFIG_SYS_STACK_SIZE); in x86_phys_memset_page()
/external/u-boot/arch/arm/cpu/arm926ejs/mxs/
Dmxs.c95 mx28_fixup_vt(gd->relocaddr); in arch_misc_init()