diff options
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/acpi.h | 1 | ||||
-rw-r--r-- | src/vendorcode/amd/opensil/stub/ramstage.c | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/acpi.h b/src/soc/amd/common/block/include/amdblocks/acpi.h index e2d1c32159..f791c25749 100644 --- a/src/soc/amd/common/block/include/amdblocks/acpi.h +++ b/src/soc/amd/common/block/include/amdblocks/acpi.h @@ -56,6 +56,7 @@ unsigned long soc_acpi_write_tables(const struct device *device, unsigned long c acpi_rsdp_t *rsdp); unsigned long acpi_add_fsp_tables(unsigned long current, acpi_rsdp_t *rsdp); +unsigned long acpi_add_opensil_tables(unsigned long current, acpi_rsdp_t *rsdp); unsigned long southbridge_write_acpi_tables(const struct device *device, unsigned long current, struct acpi_rsdp *rsdp); diff --git a/src/vendorcode/amd/opensil/stub/ramstage.c b/src/vendorcode/amd/opensil/stub/ramstage.c index 33ca447e46..76cbaf8441 100644 --- a/src/vendorcode/amd/opensil/stub/ramstage.c +++ b/src/vendorcode/amd/opensil/stub/ramstage.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <acpi/acpi.h> +#include <amdblocks/acpi.h> #include <device/device.h> #include "opensil.h" @@ -14,6 +15,12 @@ void opensil_fill_fadt_io_ports(acpi_fadt_t *fadt) printk(BIOS_NOTICE, "openSIL stub: %s\n", __func__); } +unsigned long acpi_add_opensil_tables(unsigned long current, acpi_rsdp_t *rsdp) +{ + printk(BIOS_NOTICE, "openSIL stub: %s\n", __func__); + return current; +} + void setup_opensil(void) { printk(BIOS_NOTICE, "openSIL stub: %s\n", __func__); |