[coreboot-gerrit] New patch to review for coreboot: 8de3119 Increase space for ACPI tables when using dynamic CBMEM

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Thu Aug 28 23:05:19 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 8de3119d6a6ad05c726665735229f64164a3e12c
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 will not waste unused space,
    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