Home
last modified time | relevance | path

Searched refs:memrange (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/arch/x86/cpu/coreboot/
H A Dsdram.c26 struct memrange *memrange = &lib_sysinfo.memrange[i]; in install_e820_map() local
28 entries[i].addr = memrange->base; in install_e820_map()
29 entries[i].size = memrange->size; in install_e820_map()
39 entries[i].type = memrange->type; in install_e820_map()
59 struct memrange *memrange = &lib_sysinfo.memrange[i]; in board_get_usable_ram_top() local
62 uint64_t end = memrange->base + memrange->size; in board_get_usable_ram_top()
65 if (memrange->type != CB_MEM_RAM) in board_get_usable_ram_top()
93 struct memrange *memrange = &lib_sysinfo.memrange[i]; in dram_init() local
94 unsigned long long end = memrange->base + memrange->size; in dram_init()
97 ram_size += memrange->size; in dram_init()
[all …]
H A Dtables.c46 info->memrange[info->n_memranges].base = in cb_parse_memory()
49 info->memrange[info->n_memranges].size = in cb_parse_memory()
52 info->memrange[info->n_memranges].type = range->type; in cb_parse_memory()
/openbmc/u-boot/arch/x86/include/asm/arch-coreboot/
H A Dsysinfo.h20 struct memrange { struct
24 } memrange[SYSINFO_MAX_MEM_RANGES]; member