mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
x86: fsp_support: Correct high mem comment typo
High mem starts at 4 GiB. Signed-off-by: Andrew Bradford <andrew.bradford@kodakalaris.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
67b24970ce
commit
1dc03c2639
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ u64 fsp_get_usable_highmem_top(const void *hob_list)
|
|||
res_desc = (struct hob_res_desc *)hdr;
|
||||
if (res_desc->type == RES_SYS_MEM) {
|
||||
phys_start = res_desc->phys_start;
|
||||
/* Need memory above 1MB to be collected here */
|
||||
/* Need memory above 4GB to be collected here */
|
||||
if (phys_start >= (phys_addr_t)FSP_HIGHMEM_BASE)
|
||||
top += (u32)(res_desc->len);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue