diff --git a/src/soc/amd/common/block/acpi/Kconfig b/src/soc/amd/common/block/acpi/Kconfig index 90e66b2ca7..7f121b5fba 100644 --- a/src/soc/amd/common/block/acpi/Kconfig +++ b/src/soc/amd/common/block/acpi/Kconfig @@ -29,6 +29,10 @@ config SOC_AMD_COMMON_BLOCK_ACPI_CPU_POWER_STATE config SOC_AMD_COMMON_BLOCK_ACPI_GPIO bool +config SOC_AMD_COMMON_BLOCK_ACPI_HEST + bool + select ACPI_HEST + config SOC_AMD_COMMON_BLOCK_ACPI_IVRS bool diff --git a/src/soc/amd/common/block/acpi/Makefile.mk b/src/soc/amd/common/block/acpi/Makefile.mk index 763a3bc61a..50de3459d4 100644 --- a/src/soc/amd/common/block/acpi/Makefile.mk +++ b/src/soc/amd/common/block/acpi/Makefile.mk @@ -7,6 +7,7 @@ smm-y += acpi.c ramstage-y += pm_state.c ramstage-y += tables.c ramstage-$(CONFIG_ACPI_BERT) += bert.c +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_HEST) += hest.c ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_ALIB) += alib.c ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_CPPC) += cppc.c ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_CPU_POWER_STATE) += cpu_power_state.c diff --git a/src/soc/amd/common/block/acpi/hest.c b/src/soc/amd/common/block/acpi/hest.c new file mode 100644 index 0000000000..c6d6ec1ebb --- /dev/null +++ b/src/soc/amd/common/block/acpi/hest.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include +#include +#include +#include + +uintptr_t acpi_soc_fill_hest(acpi_hest_t *hest, uintptr_t current, void *log_mem) +{ + hest->error_source_count = 0; + return current; +}