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 <marshalldawson3rd@gmail.com>
Change-Id: I95d511e454e7f2998e46e14112eea5e8b09d59b6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42531
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig
index 9630ad3..2df0b6a 100644
--- a/src/soc/amd/picasso/Kconfig
+++ b/src/soc/amd/picasso/Kconfig
@@ -327,12 +327,12 @@
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.