diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-01-26 14:05:58 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-01-27 16:37:36 +0000 |
commit | 1b410d9ab98b084ab90d012a2ae80c25b1b0a544 (patch) | |
tree | 5bc871805138eeaabe0b39745f18a0570ea63df0 /src/soc/amd/phoenix | |
parent | 545c532902a8a11a7c79d220f353a2da544d00f0 (diff) |
soc/amd: rename agesa_write_acpi_tables to soc_acpi_write_tables
It's not the AGESA code that generates most of the ACPI tables, so
rename the function. This also aligns the other SoCs more with Genoa.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I6b2e6c4cb7139c8bde01b4440ab2e923a1086827
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80217
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/phoenix')
-rw-r--r-- | src/soc/amd/phoenix/agesa_acpi.c | 4 | ||||
-rw-r--r-- | src/soc/amd/phoenix/chip.c | 2 | ||||
-rw-r--r-- | src/soc/amd/phoenix/include/soc/acpi.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/amd/phoenix/agesa_acpi.c b/src/soc/amd/phoenix/agesa_acpi.c index 598ae81154..98e25f64c5 100644 --- a/src/soc/amd/phoenix/agesa_acpi.c +++ b/src/soc/amd/phoenix/agesa_acpi.c @@ -10,8 +10,8 @@ #include <soc/acpi.h> #include <types.h> -uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current, - acpi_rsdp_t *rsdp) +uintptr_t soc_acpi_write_tables(const struct device *device, uintptr_t current, + acpi_rsdp_t *rsdp) { /* TODO: look into adding CRAT */ diff --git a/src/soc/amd/phoenix/chip.c b/src/soc/amd/phoenix/chip.c index ebc3c7ca13..970ac6f813 100644 --- a/src/soc/amd/phoenix/chip.c +++ b/src/soc/amd/phoenix/chip.c @@ -37,7 +37,7 @@ struct device_operations phoenix_pci_domain_ops = { static void soc_init(void *chip_info) { - default_dev_ops_root.write_acpi_tables = agesa_write_acpi_tables; + default_dev_ops_root.write_acpi_tables = soc_acpi_write_tables; amd_fsp_silicon_init(); diff --git a/src/soc/amd/phoenix/include/soc/acpi.h b/src/soc/amd/phoenix/include/soc/acpi.h index 823b9ce893..39687219f7 100644 --- a/src/soc/amd/phoenix/include/soc/acpi.h +++ b/src/soc/amd/phoenix/include/soc/acpi.h @@ -12,7 +12,7 @@ #define ACPI_SCI_IRQ 9 -uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current, - acpi_rsdp_t *rsdp); +uintptr_t soc_acpi_write_tables(const struct device *device, uintptr_t current, + acpi_rsdp_t *rsdp); #endif /* AMD_PHOENIX_ACPI_H */ |