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@google.com> Reviewed-on: http://review.coreboot.org/6795 Tested-by: build bot (Jenkins) Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
dac17a7415
commit
802c910fa3
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue