Home
last modified time | relevance | path

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

/external/u-boot/common/
Dboard_f.c350 gd->relocaddr = gd->ram_top; in setup_dest_addr()
357 if (gd->relocaddr > determine_mp_bootpg(NULL)) { in setup_dest_addr()
358 gd->relocaddr = determine_mp_bootpg(NULL); in setup_dest_addr()
359 debug("Reserving MP boot page to %08lx\n", gd->relocaddr); in setup_dest_addr()
372 gd->relocaddr -= (reg << 10); /* size is in kB */ in reserve_pram()
374 gd->relocaddr); in reserve_pram()
382 gd->relocaddr &= ~(4096 - 1); in reserve_round_4k()
392 gd->relocaddr -= gd->arch.tlb_size; in reserve_mmu()
395 gd->relocaddr &= ~(0x10000 - 1); in reserve_mmu()
397 gd->arch.tlb_addr = gd->relocaddr; in reserve_mmu()
[all …]
Dboard_r.c136 monitor_flash_len = (ulong)&__init_end - gd->relocaddr; in initr_reloc_global_data()
144 gd->arch.cpu += gd->relocaddr - CONFIG_SYS_MONITOR_BASE; in initr_reloc_global_data()
174 efi_runtime_relocate(gd->relocaddr, NULL); in initr_reloc_global_data()
193 trap_init(gd->relocaddr); in initr_trap()
259 malloc_start = gd->relocaddr - TOTAL_MALLOC_LEN; in initr_malloc()
337 debug("Now running in RAM - U-Boot at: %08lx\n", gd->relocaddr); in initr_announce()
/external/u-boot/arch/mips/lib/
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()
/external/u-boot/arch/x86/cpu/qemu/
De820.c38 entries[n].size = gd->relocaddr - TOTAL_MALLOC_LEN - ISA_END_ADDRESS; in install_e820_map()
43 entries[n].addr = gd->relocaddr - TOTAL_MALLOC_LEN; in install_e820_map()
48 entries[n].addr = gd->relocaddr; in install_e820_map()
49 entries[n].size = qemu_get_low_memory_size() - gd->relocaddr; in install_e820_map()
/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/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/arm/cpu/armv8/fsl-layerscape/
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()
/external/u-boot/cmd/
Dbdinfo.c209 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
250 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
295 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
329 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
381 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
431 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/
Dasm-offsets.c34 DEFINE(GD_RELOCADDR, offsetof(struct global_data, relocaddr)); in main()
Dtrace.c53 offset -= gd->relocaddr; in func_ptr_to_num()
/external/u-boot/board/broadcom/bcmstb/
Dbcmstb.c73 gd->relocaddr = CONFIG_SYS_TEXT_BASE; in dram_init_banksize()
/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/include/asm-generic/
Dglobal_data.h58 unsigned long relocaddr; /* Start address of U-Boot in RAM */ member
/external/u-boot/lib/efi_loader/
Defi_runtime.c522 patchoff = offset - gd->relocaddr; in efi_relocate_runtime_table()
568 p = (void*)((ulong)rel->offset - base) + gd->relocaddr; in efi_runtime_relocate()
739 map->physical_start + gd->relocaddr; in efi_set_virtual_address_map()
/external/u-boot/arch/x86/lib/
Drelocate.c31 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.c85 mx28_fixup_vt(gd->relocaddr); in arch_misc_init()