aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-12-08 17:29:33 +0100
committerLean Sheng Tan <sheng.tan@9elements.com>2024-01-22 13:54:41 +0000
commit8b036e14841cdbb8a8f8f6465bad7ed379accda3 (patch)
tree82e6e53db6b5cfeaa59d9114981698d724a92846
parentcd6fed2da8867567531ba8357dad9db23b9c6753 (diff)
device/device.h: Drop acpi_inject_dsdt
This is now unused in the tree and filling SSDT should always be used. TEST=intel/archercity CRB Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Iffefc865901b15fa299931b6ed4c27a9e3a1c330 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78334 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
-rw-r--r--src/acpi/acpi.c3
-rw-r--r--src/include/device/device.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 0bd82cbdfb..0e4798c448 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -1362,9 +1362,6 @@ static void acpi_create_dsdt(acpi_header_t *header, void *dsdt_file_arg)
if (CONFIG(CHROMEOS_NVS))
acpi_fill_cnvs();
- for (const struct device *dev = all_devices; dev; dev = dev->next)
- if (dev->ops && dev->ops->acpi_inject_dsdt)
- dev->ops->acpi_inject_dsdt(dev);
current = (unsigned long)acpigen_get_current();
memcpy((char *)current,
(char *)dsdt_file + sizeof(acpi_header_t),
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 13870513e1..cd0999ac94 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -56,7 +56,6 @@ struct device_operations {
unsigned long (*write_acpi_tables)(const struct device *dev,
unsigned long start, struct acpi_rsdp *rsdp);
void (*acpi_fill_ssdt)(const struct device *dev);
- void (*acpi_inject_dsdt)(const struct device *dev);
const char *(*acpi_name)(const struct device *dev);
/* Returns the optional _HID (Hardware ID) */
const char *(*acpi_hid)(const struct device *dev);