[coreboot-gerrit] Patch set updated for coreboot: af2c205 Increase space for ACPI tables when using dynamic CBMEM
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Tue Sep 2 22:03:14 CEST 2014
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6795
-gerrit
commit af2c205a3de9b44e750a3d91e8767dc01040f78b
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date: Thu Aug 28 23:03:15 2014 +0200
Increase space for ACPI tables when using dynamic CBMEM
Unlike in old style CBMEM, dynamic CBMEM does not have a
hand-calculated, hard-coded size, so allow up to 144K of
space for ACPI tables.
Change-Id: Id9dd7447c46d5fe7ed581be753d70e59add05320
Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
src/arch/x86/boot/tables.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/arch/x86/boot/tables.c b/src/arch/x86/boot/tables.c
index 16c752a..42b8a67 100644
--- a/src/arch/x86/boot/tables.c
+++ b/src/arch/x86/boot/tables.c
@@ -109,7 +109,11 @@ void write_tables(void)
#endif /* CONFIG_GENERATE_MP_TABLE */
#if CONFIG_GENERATE_ACPI_TABLES
+#if CONFIG_DYNAMIC_CBMEM
+#define MAX_ACPI_SIZE (144 * 1024)
+#else
#define MAX_ACPI_SIZE (45 * 1024)
+#endif
post_code(0x9c);
/* Write ACPI tables to F segment and high tables area */
More information about the coreboot-gerrit
mailing list