From 03743b7fa3217f13f019bce9b8680c5936375d71 Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Thu, 18 Jun 2020 10:23:48 -0600 Subject: soc/amd/picasso: Set BERT_SIZE to 0 when no table generated BUG=b:136987699 TEST=Verify no region reserved when CONFIG_ACPI_BERT=n Signed-off-by: Marshall Dawson Change-Id: I95d511e454e7f2998e46e14112eea5e8b09d59b6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/42531 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel --- src/soc/amd/picasso/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig index 9630ad3d46..2df0b6a120 100644 --- a/src/soc/amd/picasso/Kconfig +++ b/src/soc/amd/picasso/Kconfig @@ -327,12 +327,12 @@ config ACPI_BERT depends on HAVE_ACPI_TABLES help Report Machine Check errors identified in POST to the OS in an - ACPI Boot Error Record Table. This option reserves an 8MB region - for building the error structures. + ACPI Boot Error Record Table. config ACPI_BERT_SIZE hex - default 0x4000 + default 0x4000 if ACPI_BERT + default 0x0 help Specify the amount of DRAM reserved for gathering the data used to generate the ACPI table. -- cgit v1.2.3