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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/jasperlake/chip.c b/src/soc/intel/jasperlake/chip.c
index d34ef557df..1f58f84c18 100644
--- a/src/soc/intel/jasperlake/chip.c
+++ b/src/soc/intel/jasperlake/chip.c
@@ -6,6 +6,7 @@
#include <fsp/util.h>
#include <intelblocks/acpi.h>
#include <intelblocks/cfg.h>
+#include <intelblocks/gpio.h>
#include <intelblocks/itss.h>
#include <intelblocks/pcie_rp.h>
#include <intelblocks/xdci.h>
@@ -169,6 +170,8 @@ static void soc_enable(struct device *dev)
else if (dev->path.type == DEVICE_PATH_PCI &&
dev->path.pci.devfn == PCH_DEVFN_PMC)
dev->ops = &pmc_ops;
+ else if (dev->path.type == DEVICE_PATH_GPIO)
+ block_gpio_enable(dev);
}
struct chip_operations soc_intel_jasperlake_ops = {