]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: fsp_support: Correct high mem comment typo
authorAndrew Bradford <andrew.bradford@kodakalaris.com>
Fri, 22 May 2015 19:11:23 +0000 (15:11 -0400)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:48:15 +0000 (22:48 +0200)
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>
arch/x86/lib/fsp/fsp_support.c

index 5f96da120ea19d5d429e2834f6963bb6d1a11a88..5809235b10a28b6d7fdcf766b19f5e0c3f0026ee 100644 (file)
@@ -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);
                        }