Home
last modified time | relevance | path

Searched refs:res_desc (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/x86/lib/fsp/
Dfsp_dram.c18 struct hob_res_desc *res_desc; in dram_init() local
23 res_desc = (struct hob_res_desc *)hdr; in dram_init()
24 if (res_desc->type == RES_SYS_MEM || in dram_init()
25 res_desc->type == RES_MEM_RESERVED) { in dram_init()
26 ram_size += res_desc->len; in dram_init()
69 struct hob_res_desc *res_desc; in install_e820_map() local
75 res_desc = (struct hob_res_desc *)hdr; in install_e820_map()
76 entries[num_entries].addr = res_desc->phys_start; in install_e820_map()
77 entries[num_entries].size = res_desc->len; in install_e820_map()
79 if (res_desc->type == RES_SYS_MEM) in install_e820_map()
[all …]
Dfsp_support.c220 struct hob_res_desc *res_desc; in fsp_get_usable_lowmem_top() local
235 res_desc = (struct hob_res_desc *)hdr; in fsp_get_usable_lowmem_top()
236 if (res_desc->type == RES_SYS_MEM) { in fsp_get_usable_lowmem_top()
237 phys_start = res_desc->phys_start; in fsp_get_usable_lowmem_top()
241 top += (u32)(res_desc->len); in fsp_get_usable_lowmem_top()
282 struct hob_res_desc *res_desc; in fsp_get_usable_highmem_top() local
293 res_desc = (struct hob_res_desc *)hdr; in fsp_get_usable_highmem_top()
294 if (res_desc->type == RES_SYS_MEM) { in fsp_get_usable_highmem_top()
295 phys_start = res_desc->phys_start; in fsp_get_usable_highmem_top()
298 top += (u32)(res_desc->len); in fsp_get_usable_highmem_top()
[all …]