From 802c910fa39d7245c96ad055988ccfc3a3ab26c1 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 28 Aug 2014 23:03:15 +0200 Subject: Increase space for ACPI tables when using dynamic CBMEM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/6795 Tested-by: build bot (Jenkins) Reviewed-by: Gerd Hoffmann Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel --- src/arch/x86/boot/tables.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/arch') diff --git a/src/arch/x86/boot/tables.c b/src/arch/x86/boot/tables.c index 16c752a154..42b8a678ee 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 */ -- cgit v1.2.3