summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/lpc/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/block/lpc/lpc.c')
-rw-r--r--src/soc/intel/common/block/lpc/lpc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/lpc/lpc.c b/src/soc/intel/common/block/lpc/lpc.c
index b05ee590d4..db06db9a06 100644
--- a/src/soc/intel/common/block/lpc/lpc.c
+++ b/src/soc/intel/common/block/lpc/lpc.c
@@ -16,6 +16,15 @@ __weak void lpc_soc_init(struct device *dev)
/* no-op */
}
+/* Create SoC specific SSDT */
+__weak void lpc_soc_fill_ssdt(const struct device *dev)
+{
+ /*
+ * no-op
+ * by default it does nothing so that static DSDT could be used
+ */
+}
+
/* Fill up LPC IO resource structure inside SoC directory */
__weak void pch_lpc_soc_fill_io_resources(struct device *dev)
{
@@ -134,6 +143,7 @@ struct device_operations lpc_ops = {
#if CONFIG(HAVE_ACPI_TABLES)
.write_acpi_tables = southbridge_write_acpi_tables,
.acpi_name = lpc_acpi_name,
+ .acpi_fill_ssdt = lpc_soc_fill_ssdt,
#endif
.init = lpc_soc_init,
.scan_bus = scan_static_bus,