[coreboot] New patch to review for coreboot: 94ea2df libpayload: Use an appropriate range of memory when looking for cb tables.

Ronald G. Minnich (rminnich@gmail.com) gerrit at coreboot.org
Fri Feb 15 02:32:54 CET 2013


Ronald G. Minnich (rminnich at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2410

-gerrit

commit 94ea2df1bf67e609fa65459197422badef752c3b
Author: Ronald G. Minnich <rminnich at gmail.com>
Date:   Thu Feb 14 17:31:37 2013 -0800

    libpayload: Use an appropriate range of memory when looking for cb tables.
    
    These live at the bottom of memory on x86, but that's IO mapped on the exynos.
    The particular range used will likely need to be configurable, but this will
    make it work in one more case than it used to.
    
    Change-Id: I4d4963b9732cf538d00f8effb4398f30cbbde6aa
    Signed-off-by: Gabe Black <gabeblack at google.com>
    Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
---
 payloads/libpayload/arch/armv7/coreboot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/payloads/libpayload/arch/armv7/coreboot.c b/payloads/libpayload/arch/armv7/coreboot.c
index 01ec53c..0003c29 100644
--- a/payloads/libpayload/arch/armv7/coreboot.c
+++ b/payloads/libpayload/arch/armv7/coreboot.c
@@ -281,7 +281,7 @@ static int cb_parse_header(void *addr, int len, struct sysinfo_t *info)
 
 int get_coreboot_info(struct sysinfo_t *info)
 {
-	int ret = cb_parse_header(phys_to_virt(0x00000000), 0x1000, info);
+	int ret = cb_parse_header(phys_to_virt(0xbff00000), 0x100000, info);
 
 	return (ret == 1) ? 0 : -1;
 }



More information about the coreboot mailing list