diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2013-02-14 17:31:37 -0800 |
---|---|---|
committer | David Hendricks <dhendrix@chromium.org> | 2013-02-15 03:19:06 +0100 |
commit | f2e10cb544996872298c95ed23241149e3eab418 (patch) | |
tree | 4d249c99917760ad4b3d1426056c6850cf3a02a2 /payloads | |
parent | ba1008e33f35a8c1174f76c8d0bdba0fec519561 (diff) | |
download | coreboot-f2e10cb544996872298c95ed23241149e3eab418.tar.xz |
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@google.com>
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: http://review.coreboot.org/2410
Tested-by: build bot (Jenkins)
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/arch/armv7/coreboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |