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/picasso | |
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/picasso')
-rw-r--r-- | src/soc/amd/picasso/agesa_acpi.c | 4 | ||||
-rw-r--r-- | src/soc/amd/picasso/chip.c | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/include/soc/acpi.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/amd/picasso/agesa_acpi.c b/src/soc/amd/picasso/agesa_acpi.c index 7a32779f60..5604faad42 100644 --- a/src/soc/amd/picasso/agesa_acpi.c +++ b/src/soc/amd/picasso/agesa_acpi.c @@ -539,8 +539,8 @@ static unsigned long acpi_fill_crat(struct acpi_crat_header *crat, unsigned long return current; } -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) { struct acpi_crat_header *crat; diff --git a/src/soc/amd/picasso/chip.c b/src/soc/amd/picasso/chip.c index 4ddfa56c08..45b4ca2a6d 100644 --- a/src/soc/amd/picasso/chip.c +++ b/src/soc/amd/picasso/chip.c @@ -36,7 +36,7 @@ struct device_operations picasso_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/picasso/include/soc/acpi.h b/src/soc/amd/picasso/include/soc/acpi.h index 3b83123b7e..7a0f749068 100644 --- a/src/soc/amd/picasso/include/soc/acpi.h +++ b/src/soc/amd/picasso/include/soc/acpi.h @@ -10,7 +10,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_PICASSO_ACPI_H */ |