summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/stoneyridge
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-01-26 14:22:31 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-01-27 16:38:54 +0000
commitd9e826322031f5936231be44e3b2c406be40a304 (patch)
tree5721ca69716d2c0d7ecdf28dcce0e42a4e1e3386 /src/soc/amd/stoneyridge
parent3aaf8efdfad7081fa39a679f2f6d28a176c3a005 (diff)
downloadcoreboot-d9e826322031f5936231be44e3b2c406be40a304.tar.gz
coreboot-d9e826322031f5936231be44e3b2c406be40a304.tar.bz2
coreboot-d9e826322031f5936231be44e3b2c406be40a304.zip
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 <felix-coreboot@felixheld.de> Change-Id: Ib9aa215f2b4ba58f43fed2c751d989f1719e0a17 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80221 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/stoneyridge')
-rw-r--r--src/soc/amd/stoneyridge/northbridge.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c
index 5ac690963a1f..deebfb351fde 100644
--- a/src/soc/amd/stoneyridge/northbridge.c
+++ b/src/soc/amd/stoneyridge/northbridge.c
@@ -131,9 +131,8 @@ static unsigned long acpi_fill_hest(acpi_hest_t *hest)
return (unsigned long)current;
}
-static unsigned long soc_acpi_write_tables(const struct device *device,
- unsigned long current,
- acpi_rsdp_t *rsdp)
+unsigned long soc_acpi_write_tables(const struct device *device, unsigned long current,
+ acpi_rsdp_t *rsdp)
{
acpi_srat_t *srat;
acpi_slit_t *slit;