/openbmc/u-boot/common/ |
H A D | board_f.c | 345 gd->relocaddr = gd->ram_top; in setup_dest_addr() 352 if (gd->relocaddr > determine_mp_bootpg(NULL)) { in setup_dest_addr() 353 gd->relocaddr = determine_mp_bootpg(NULL); in setup_dest_addr() 354 debug("Reserving MP boot page to %08lx\n", gd->relocaddr); in setup_dest_addr() 367 gd->relocaddr -= (reg << 10); /* size is in kB */ in reserve_pram() 369 gd->relocaddr); in reserve_pram() 377 gd->relocaddr &= ~(4096 - 1); in reserve_round_4k() 387 gd->relocaddr -= gd->arch.tlb_size; in reserve_mmu() 390 gd->relocaddr &= ~(0x10000 - 1); in reserve_mmu() 392 gd->arch.tlb_addr = gd->relocaddr; in reserve_mmu() [all …]
|
H A D | board_r.c | 129 monitor_flash_len = (ulong)&__init_end - gd->relocaddr; in initr_reloc_global_data() 137 gd->arch.cpu += gd->relocaddr - CONFIG_SYS_MONITOR_BASE; in initr_reloc_global_data() 160 efi_runtime_relocate(gd->relocaddr, NULL); in initr_reloc_global_data() 179 trap_init(gd->relocaddr); in initr_trap() 241 malloc_start = gd->relocaddr - TOTAL_MALLOC_LEN; in initr_malloc() 319 debug("Now running in RAM - U-Boot at: %08lx\n", gd->relocaddr); in initr_announce()
|
/openbmc/u-boot/arch/mips/lib/ |
H A D | reloc.c | 107 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()
|
/openbmc/u-boot/arch/x86/cpu/qemu/ |
H A D | e820.c | 28 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()
|
/openbmc/u-boot/arch/sh/lib/ |
H A D | board.c | 18 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()
|
/openbmc/u-boot/board/nokia/rx51/ |
H A D | lowlevel_init.S | 9 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 */
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | mp.c | 97 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()
|
/openbmc/u-boot/cmd/ |
H A D | bdinfo.c | 207 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() 429 print_num("relocaddr", gd->relocaddr); in do_bdinfo()
|
/openbmc/u-boot/doc/ |
H A D | README.arm-relocation | 167 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
|
H A D | README.sifive-fu540 | 92 relocaddr = 0x00000000fff90000
|
/openbmc/u-boot/lib/ |
H A D | asm-offsets.c | 34 DEFINE(GD_RELOCADDR, offsetof(struct global_data, relocaddr)); in main()
|
H A D | trace.c | 52 offset -= gd->relocaddr; in func_ptr_to_num()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_runtime.c | 334 ulong patchoff = offset - (ulong)gd->relocaddr; in efi_runtime_detach() 365 p = (void*)((ulong)rel->offset - base) + gd->relocaddr; in efi_runtime_relocate() 514 map->physical_start + gd->relocaddr; in efi_set_virtual_address_map()
|
/openbmc/u-boot/arch/arc/lib/ |
H A D | relocate.c | 24 memcpy((void *)gd->relocaddr, (void *)&__image_copy_start, len); in copy_uboot_to_ram()
|
/openbmc/u-boot/common/spl/ |
H A D | spl.c | 450 gd->relocaddr = CONFIG_SPL_RELOC_TEXT_BASE; in spl_setup_reloc() 452 gd->start_addr_sp = gd->relocaddr; in spl_setup_reloc() 460 gd->reloc_off = gd->relocaddr - CONFIG_SPL_TEXT_BASE; in spl_setup_reloc()
|
/openbmc/u-boot/include/asm-generic/ |
H A D | global_data.h | 57 unsigned long relocaddr; /* Start address of U-Boot in RAM */ member
|
/openbmc/u-boot/board/broadcom/bcmstb/ |
H A D | bcmstb.c | 69 gd->relocaddr = CONFIG_SYS_TEXT_BASE; in dram_init_banksize()
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | relocate.c | 31 memcpy((void *)gd->relocaddr, (void *)&__text_start, len); in copy_uboot_to_ram()
|
H A D | physmem.c | 145 gd->relocaddr - CONFIG_SYS_MALLOC_LEN - CONFIG_SYS_STACK_SIZE); in x86_phys_memset_page()
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
H A D | mxs.c | 85 mx28_fixup_vt(gd->relocaddr); in arch_misc_init()
|