x86: fsp_support: Correct high mem comment typo
PATCH 1/1 x86: fsp_support: Correct high mem comment typo
From: Andrew Bradford <[email protected]>
High mem starts at 4 GiB.
--- arch/x86/lib/fsp/fsp_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/lib/fsp/fsp_support.c +1 -1
@@ -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); }
Signature · 1 line
1.9.1
PATCH 1/1 x86: fsp_support: Correct high mem comment typo
+Simon.
Quoted 14 lines · On Sat, May 23, 2015 at 3:11 AM, <[email protected]> wrote:
From: Andrew Bradford <[email protected]>
High mem starts at 4 GiB.
Signed-off-by Andrew Bradford <[email protected]>--- arch/x86/lib/fsp/fsp_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/lib/fsp/fsp_support.c +0
-0
arch/x86/lib/fsp/fsp_support.c u64 fsp_get_usable_highmem_top(const void *hob_list)
Quoted 9 lines
arch/x86/lib/fsp/fsp_support.c +1
-2@@ -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); } --
PATCH 1/1 x86: fsp_support: Correct high mem comment typo
Quoted 12 lines · Bin Meng
+Simon.
Quoted 9 lines · On Sat, May 23, 2015 at 3:11 AM, <[email protected]> wrote:
From: Andrew Bradford <[email protected]>
High mem starts at 4 GiB.
Signed-off-by Andrew Bradford <[email protected]>--- arch/x86/lib/fsp/fsp_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
Quoted 5 lines
arch/x86/lib/fsp/fsp_support.c +0
-0arch/x86/lib/fsp/fsp_support.c u64 fsp_get_usable_highmem_top(const void *hob_list)
Quoted 9 lines
arch/x86/lib/fsp/fsp_support.c +1
-2@@ -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); } --Reviewed-by Bin Meng <[email protected]>
PATCH 1/1 x86: fsp_support: Correct high mem comment typo
Quoted 30 lines · Simon Glass
Quoted 12 lines · Bin Meng
+Simon.
Quoted 9 lines · On Sat, May 23, 2015 at 3:11 AM, <[email protected]> wrote:
From: Andrew Bradford <[email protected]>
High mem starts at 4 GiB.
Signed-off-by Andrew Bradford <[email protected]>--- arch/x86/lib/fsp/fsp_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 16 lines
Quoted 5 lines
arch/x86/lib/fsp/fsp_support.c +0
-0arch/x86/lib/fsp/fsp_support.c u64 fsp_get_usable_highmem_top(const void *hob_list)
Quoted 9 lines
arch/x86/lib/fsp/fsp_support.c +1
-2@@ -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); } --Reviewed-by Bin Meng <[email protected]>
Quoted 1 line
Acked-by Simon Glass <[email protected]>
Applied to u-boot-x86, thanks!