/u-boot/arch/x86/lib/ |
A D | e820.c | 45 u64 start, ram_top; in efi_add_known_memory() local 50 ram_top = (u64)gd->ram_top & ~EFI_PAGE_MASK; in efi_add_known_memory() 51 if (!ram_top) in efi_add_known_memory() 52 ram_top = 0x100000000ULL; in efi_add_known_memory() 79 ram_top); in efi_add_known_memory()
|
/u-boot/arch/x86/cpu/slimbootloader/ |
A D | sdram.c | 57 ulong ram_top; in board_get_usable_ram_top() local 67 ram_top = 0; in board_get_usable_ram_top() 84 ram_top = (ulong)addr_end + total_size; in board_get_usable_ram_top() 89 if (!ram_top) in board_get_usable_ram_top() 92 return ram_top; in board_get_usable_ram_top()
|
/u-boot/arch/riscv/cpu/fu540/ |
A D | dram.c | 34 if (gd->ram_top >= SZ_4G) in board_get_usable_ram_top() 37 return gd->ram_top; in board_get_usable_ram_top()
|
/u-boot/arch/riscv/cpu/generic/ |
A D | dram.c | 34 if (gd->ram_top >= SZ_4G) in board_get_usable_ram_top() 37 return gd->ram_top; in board_get_usable_ram_top()
|
/u-boot/board/imgtec/boston/ |
A D | ddr.c | 30 if (gd->ram_top < CONFIG_SYS_SDRAM_BASE) { in board_get_usable_ram_top() 35 return min_t(unsigned long, gd->ram_top, CKSEG0ADDR(256 << 20)); in board_get_usable_ram_top()
|
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
A D | spl.c | 106 gd->ram_top = gd->bd->bi_dram[0].start + gd->bd->bi_dram[0].size; in board_init_f() 117 gd->ram_top -= SPL_TLB_SETBACK; in board_init_f() 119 gd->arch.tlb_addr = (gd->ram_top - gd->arch.tlb_size) & ~(0x10000 - 1); in board_init_f()
|
A D | cpu.c | 1287 phys_size_t ram_top = ram_size; in board_reserve_ram_top() local 1290 ram_top = mc_get_dram_block_size(); in board_reserve_ram_top() 1291 if (ram_top > ram_size) in board_reserve_ram_top() 1292 return ram_size + ram_top; in board_reserve_ram_top() 1294 ram_top = ram_size - ram_top; in board_reserve_ram_top() 1296 ram_top &= ~(CONFIG_SYS_MC_RSV_MEM_ALIGN - 1); in board_reserve_ram_top() 1299 return ram_size - ram_top; in board_reserve_ram_top()
|
/u-boot/lib/efi_loader/ |
A D | efi_memory.c | 693 u64 ram_top) in efi_add_conventional_memory_map() argument 717 if (ram_top < ram_start) { in efi_add_conventional_memory_map() 721 } else if ((ram_top >= ram_start) && (ram_top < ram_end)) { in efi_add_conventional_memory_map() 723 pages = (ram_end - ram_top) >> EFI_PAGE_SHIFT; in efi_add_conventional_memory_map() 725 efi_add_memory_map_pg(ram_top, pages, in efi_add_conventional_memory_map() 734 u64 ram_top = board_get_usable_ram_top(0) & ~EFI_PAGE_MASK; in efi_add_known_memory() local 741 ram_top = (uintptr_t)map_sysmem(ram_top - 1, 0) + 1; in efi_add_known_memory() 744 if (!ram_top) in efi_add_known_memory() 745 ram_top = 0x100000000ULL; in efi_add_known_memory() 754 efi_add_conventional_memory_map(ram_start, ram_end, ram_top); in efi_add_known_memory() [all …]
|
/u-boot/arch/arm/mach-tegra/ |
A D | board2.c | 406 ulong ram_top; in board_get_usable_ram_top() local 409 ram_top = cboot_get_usable_ram_top(total_size); in board_get_usable_ram_top() 410 if (ram_top > 0) in board_get_usable_ram_top() 411 return ram_top; in board_get_usable_ram_top()
|
A D | cboot.c | 60 static u64 ram_top __attribute__((section(".data"))); variable 153 (bank_end > ram_top)) { in cboot_dram_init() 154 ram_top = bank_end; in cboot_dram_init() 156 debug("ram top now %llx\n", ram_top); in cboot_dram_init() 167 if (!ram_top) { in cboot_dram_init() 193 gd->pci_ram_top = ram_top; in cboot_dram_init_banksize() 201 return ram_top; in cboot_get_usable_ram_top()
|
/u-boot/arch/arm/mach-rockchip/ |
A D | spl.c | 149 gd->ram_top = gd->ram_base + get_effective_memsize(); in board_init_f() 150 gd->ram_top = board_get_usable_ram_top(gd->ram_size); in board_init_f()
|
A D | sdram.c | 41 (unsigned long)(gd->ram_top)); in dram_init_banksize() 212 return (gd->ram_top > top) ? top : gd->ram_top; in board_get_usable_ram_top()
|
/u-boot/arch/mips/lib/ |
A D | boot.c | 21 flush_cache(gd->ram_base, gd->ram_top - gd->ram_base); in do_go_exec()
|
/u-boot/arch/arm/mach-k3/ |
A D | common.c | 446 phys_addr_t ram_top = CONFIG_SYS_SDRAM_BASE; in spl_enable_dcache() local 453 ram_top += get_effective_memsize(); in spl_enable_dcache() 455 if (ram_top >= 0x100000000) in spl_enable_dcache() 456 ram_top = (phys_addr_t) 0x100000000; in spl_enable_dcache() 458 gd->arch.tlb_addr = ram_top - gd->arch.tlb_size; in spl_enable_dcache()
|
/u-boot/common/ |
A D | board_f.c | 310 if (gd->ram_top < CONFIG_SYS_SDRAM_BASE) in board_get_usable_ram_top() 317 return gd->ram_top; in board_get_usable_ram_top() 343 gd->ram_top = gd->ram_base + get_effective_memsize(); in setup_dest_addr() 344 gd->ram_top = board_get_usable_ram_top(gd->mon_len); in setup_dest_addr() 345 gd->relocaddr = gd->ram_top; in setup_dest_addr() 346 debug("Ram top: %08lX\n", (ulong)gd->ram_top); in setup_dest_addr()
|
/u-boot/arch/arm/mach-stm32mp/ |
A D | dram_init.c | 56 return gd->ram_top; in board_get_usable_ram_top()
|
/u-boot/arch/mips/mach-octeon/ |
A D | dram.c | 87 return gd->ram_top; in board_get_usable_ram_top()
|
/u-boot/board/ti/am65x/ |
A D | evm.c | 68 if (gd->ram_top > 0x100000000) in board_get_usable_ram_top() 72 return gd->ram_top; in board_get_usable_ram_top()
|
/u-boot/board/raspberrypi/rpi/ |
A D | rpi.c | 335 if ((gd->ram_top - fw_dtb_pointer) > SZ_64M) in board_get_usable_ram_top() 336 return gd->ram_top; in board_get_usable_ram_top()
|
/u-boot/arch/x86/lib/fsp2/ |
A D | fsp_dram.c | 93 return gd->ram_top; in board_get_usable_ram_top()
|
/u-boot/board/ti/j721e/ |
A D | evm.c | 59 if (gd->ram_top > 0x100000000) in board_get_usable_ram_top() 63 return gd->ram_top; in board_get_usable_ram_top()
|
/u-boot/cmd/ |
A D | booti.c | 59 if (dest < gd->ram_base || dest > gd->ram_top) { in booti_start()
|
/u-boot/include/asm-generic/ |
A D | global_data.h | 150 phys_addr_t ram_top; member
|
/u-boot/arch/arm/lib/ |
A D | bootm.c | 83 if (bank_end > gd->ram_top) in arch_lmb_reserve() 84 bank_end = gd->ram_top - 1; in arch_lmb_reserve()
|
/u-boot/arch/x86/lib/fsp/ |
A D | fsp_dram.c | 143 entries[num_entries].size = gd->ram_top - gd->start_addr_sp + in install_e820_map()
|