summaryrefslogtreecommitdiff
path: root/src/soc/intel/elkhartlake/chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/elkhartlake/chip.c')
-rw-r--r--src/soc/intel/elkhartlake/chip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/elkhartlake/chip.c b/src/soc/intel/elkhartlake/chip.c
index 8b4cf0cad9..359aa11c07 100644
--- a/src/soc/intel/elkhartlake/chip.c
+++ b/src/soc/intel/elkhartlake/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>
@@ -163,6 +164,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_elkhartlake_ops = {