summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-30 11:42:52 +0300
committerAngel Pons <th3fanbus@gmail.com>2021-01-13 18:30:13 +0000
commit91946c5b137366ae283a5d2a075a415b0a403025 (patch)
tree31d8f1a02ec1f1c056fb64b13d94c688e2bffd3c /src/soc/amd
parentc84572e0e1d17a4ccc77f5cc6e35f96417826663 (diff)
ACPI: Have single call-site for acpi_inject_nvsa()
Change-Id: I61a9b07ec3fdaeef0622df82e106405f01e89a9e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48719 Reviewed-by: Lance Zhao Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/block/lpc/lpc.c1
-rw-r--r--src/soc/amd/picasso/acpi.c5
-rw-r--r--src/soc/amd/stoneyridge/acpi.c5
3 files changed, 0 insertions, 11 deletions
diff --git a/src/soc/amd/common/block/lpc/lpc.c b/src/soc/amd/common/block/lpc/lpc.c
index 96fb1768ad..b97686c82c 100644
--- a/src/soc/amd/common/block/lpc/lpc.c
+++ b/src/soc/amd/common/block/lpc/lpc.c
@@ -323,7 +323,6 @@ static struct device_operations lpc_ops = {
.read_resources = lpc_read_resources,
.set_resources = lpc_set_resources,
.enable_resources = lpc_enable_resources,
- .acpi_inject_dsdt = southbridge_inject_dsdt,
.write_acpi_tables = southbridge_write_acpi_tables,
.init = lpc_init,
.scan_bus = scan_static_bus,
diff --git a/src/soc/amd/picasso/acpi.c b/src/soc/amd/picasso/acpi.c
index 71087225f7..ed2be4845c 100644
--- a/src/soc/amd/picasso/acpi.c
+++ b/src/soc/amd/picasso/acpi.c
@@ -403,11 +403,6 @@ void soc_fill_gnvs(struct global_nvs *gnvs)
gnvs->pcnt = dev_count_cpu();
}
-void southbridge_inject_dsdt(const struct device *device)
-{
- acpi_inject_nvsa();
-}
-
static int acpigen_soc_gpio_op(const char *op, unsigned int gpio_num)
{
if (gpio_num >= SOC_GPIO_TOTAL_PINS) {
diff --git a/src/soc/amd/stoneyridge/acpi.c b/src/soc/amd/stoneyridge/acpi.c
index 03acf86959..19add66f87 100644
--- a/src/soc/amd/stoneyridge/acpi.c
+++ b/src/soc/amd/stoneyridge/acpi.c
@@ -171,11 +171,6 @@ void soc_fill_gnvs(struct global_nvs *gnvs)
gnvs->pcnt = dev_count_cpu();
}
-void southbridge_inject_dsdt(const struct device *device)
-{
- acpi_inject_nvsa();
-}
-
static void acpigen_soc_get_gpio_in_local5(uintptr_t addr)
{
/*