From f2e10cb544996872298c95ed23241149e3eab418 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Thu, 14 Feb 2013 17:31:37 -0800 Subject: 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 Signed-off-by: Ronald G. Minnich Reviewed-on: http://review.coreboot.org/2410 Tested-by: build bot (Jenkins) Reviewed-by: Gabe Black Reviewed-by: David Hendricks --- payloads/libpayload/arch/armv7/coreboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads') diff --git a/payloads/libpayload/arch/armv7/coreboot.c b/payloads/libpayload/arch/armv7/coreboot.c index 01ec53cb01..0003c292c1 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; } -- cgit v1.2.3