Skip to contentSkip to conversation

x86: fsp_support: Correct high mem comment typo

PATCH New andrew at bradfordembedded.com 3 participants 4 messages May 22, 2015 – Jun 2, 2015 x86

lore
Share & tools
lore
#0 lore raw

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
index 5f96da1..5809235 100644
@@ -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
#1 lore raw

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.

---
 arch/x86/lib/fsp/fsp_support.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/lib/fsp/fsp_support.c +0 -0
index 5f96da1..5809235 100644

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);
                        }
--
#2 lore raw

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.

---
 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 -0
index 5f96da1..5809235 100644

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);
                        }
--
#3 lore raw

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.

---
 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 -0
index 5f96da1..5809235 100644

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);
                        }
--
Quoted 1 line

Applied to u-boot-x86, thanks!