
20 Feb
2023
20 Feb
'23
8:49 p.m.
Avoid searching starting at 0 since this memory may not be available and the table cannot be there anyway. Start at 0x400 instead.
Signed-off-by: Simon Glass sjg@chromium.org ---
arch/x86/cpu/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 6fe6eaf6c84..3394e5b523c 100644 --- a/arch/x86/cpu/cpu.c +++ b/arch/x86/cpu/cpu.c @@ -352,7 +352,7 @@ long locate_coreboot_table(void) long addr;
/* We look for LBIO in the first 4K of RAM and again at 960KB */ - addr = detect_coreboot_table_at(0x0, 0x1000); + addr = detect_coreboot_table_at(0x400, 0xc00); if (addr < 0) addr = detect_coreboot_table_at(0xf0000, 0x1000);
--
2.39.2.637.g21b0678d19-goog