From d9e826322031f5936231be44e3b2c406be40a304 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 26 Jan 2024 14:22:31 +0100 Subject: soc/amd/*/acpi: use common soc_acpi_write_tables prototype Since the definition is the same for all SoCs, move it to the common amdblock/acpi.h header. Since the Stoneyridge northbridge.c file also includes this prototype, remove the static attribute of the function there. Signed-off-by: Felix Held Change-Id: Ib9aa215f2b4ba58f43fed2c751d989f1719e0a17 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80221 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/soc/amd/common/block/include/amdblocks/acpi.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/amd/common/block') diff --git a/src/soc/amd/common/block/include/amdblocks/acpi.h b/src/soc/amd/common/block/include/amdblocks/acpi.h index f02dbe21e1..2a29f37c4f 100644 --- a/src/soc/amd/common/block/include/amdblocks/acpi.h +++ b/src/soc/amd/common/block/include/amdblocks/acpi.h @@ -50,6 +50,9 @@ struct chipset_power_state { struct gpio_wake_state gpio_state; }; +unsigned long soc_acpi_write_tables(const struct device *device, unsigned long current, + acpi_rsdp_t *rsdp); + unsigned long southbridge_write_acpi_tables(const struct device *device, unsigned long current, struct acpi_rsdp *rsdp); -- cgit v1.2.3