summaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/jasperlake/chip.c')
-rw-r--r--src/soc/intel/jasperlake/chip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/jasperlake/chip.c b/src/soc/intel/jasperlake/chip.c
index 6f4ee005c7..ff63398804 100644
--- a/src/soc/intel/jasperlake/chip.c
+++ b/src/soc/intel/jasperlake/chip.c
@@ -150,6 +150,7 @@ static struct device_operations cpu_bus_ops = {
#endif
};
+extern struct device_operations pmc_ops;
static void soc_enable(struct device *dev)
{
/* Set the operations if it is a special bus type */
@@ -157,6 +158,9 @@ static void soc_enable(struct device *dev)
dev->ops = &pci_domain_ops;
else if (dev->path.type == DEVICE_PATH_CPU_CLUSTER)
dev->ops = &cpu_bus_ops;
+ else if (dev->path.type == DEVICE_PATH_PCI &&
+ dev->path.pci.devfn == PCH_DEVFN_PMC)
+ dev->ops = &pmc_ops;
}
struct chip_operations soc_intel_jasperlake_ops = {