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/mendocino/include/soc/acpi.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/soc/amd/mendocino/include') diff --git a/src/soc/amd/mendocino/include/soc/acpi.h b/src/soc/amd/mendocino/include/soc/acpi.h index 5b72492079..25f9234938 100644 --- a/src/soc/amd/mendocino/include/soc/acpi.h +++ b/src/soc/amd/mendocino/include/soc/acpi.h @@ -3,14 +3,6 @@ #ifndef AMD_MENDOCINO_ACPI_H #define AMD_MENDOCINO_ACPI_H -#include -#include -#include -#include - #define ACPI_SCI_IRQ 9 -unsigned long soc_acpi_write_tables(const struct device *device, unsigned long current, - acpi_rsdp_t *rsdp); - #endif /* AMD_MENDOCINO_ACPI_H */ -- cgit v1.2.3