Home
last modified time | relevance | path

Searched refs:ram_top (Results 1 – 25 of 31) sorted by relevance

12

/u-boot/arch/x86/lib/
A De820.c45 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 Dsdram.c57 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 Ddram.c34 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 Ddram.c34 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 Dddr.c30 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 Dspl.c106 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 Dcpu.c1287 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 Defi_memory.c693 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 Dboard2.c406 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 Dcboot.c60 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 Dspl.c149 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 Dsdram.c41 (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 Dboot.c21 flush_cache(gd->ram_base, gd->ram_top - gd->ram_base); in do_go_exec()
/u-boot/arch/arm/mach-k3/
A Dcommon.c446 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 Dboard_f.c310 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 Ddram_init.c56 return gd->ram_top; in board_get_usable_ram_top()
/u-boot/arch/mips/mach-octeon/
A Ddram.c87 return gd->ram_top; in board_get_usable_ram_top()
/u-boot/board/ti/am65x/
A Devm.c68 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 Drpi.c335 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 Dfsp_dram.c93 return gd->ram_top; in board_get_usable_ram_top()
/u-boot/board/ti/j721e/
A Devm.c59 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 Dbooti.c59 if (dest < gd->ram_base || dest > gd->ram_top) { in booti_start()
/u-boot/include/asm-generic/
A Dglobal_data.h150 phys_addr_t ram_top; member
/u-boot/arch/arm/lib/
A Dbootm.c83 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 Dfsp_dram.c143 entries[num_entries].size = gd->ram_top - gd->start_addr_sp + in install_e820_map()

Completed in 34 milliseconds

12