summaryrefslogtreecommitdiffstats
path: root/src/acpi/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/acpi/acpi.c')
-rw-r--r--src/acpi/acpi.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 78c3fd3b9067..3bf57c6ff28f 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -1577,6 +1577,17 @@ unsigned long __weak fw_cfg_acpi_tables(unsigned long start)
return 0;
}
+void preload_acpi_dsdt(void)
+{
+ const char *file = CONFIG_CBFS_PREFIX "/dsdt.aml";
+
+ if (!CONFIG(CBFS_PRELOAD))
+ return;
+
+ printk(BIOS_DEBUG, "Preloading %s\n", file);
+ cbfs_preload(file);
+}
+
unsigned long write_acpi_tables(unsigned long start)
{
unsigned long current;