summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/bootblock
diff options
context:
space:
mode:
authorDinesh Gehlot <digehlot@google.com>2023-01-17 04:01:13 +0000
committerElyes Haouas <ehaouas@noos.fr>2023-01-18 05:19:52 +0000
commit58cc96f0caa204a7c7eb08119fdd1df6b60605db (patch)
treef0bb9efaa50bda403823a652ed00435b0ca742f2 /src/soc/intel/apollolake/bootblock
parentba09eb71c8ffe94ea752cdbc83ac5f400ebc3772 (diff)
soc/intel/apollolake: Use common gpio.h include
Replace the intelblocks/gpio.h, soc/gpio.h and soc/gpio_defs.h includes with the common gpio.h which includes soc/gpio.h which includes intelblocks/gpio.h which includes soc/gpio_defs.h. BUG=b:261778357 TEST=Able to build and boot. Signed-off-by: Dinesh Gehlot <digehlot@google.com> Change-Id: Iccf37a340880e4b5a18f51c3add9a15a74e1d7b4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72030 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/apollolake/bootblock')
-rw-r--r--src/soc/intel/apollolake/bootblock/bootblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/bootblock/bootblock.c b/src/soc/intel/apollolake/bootblock/bootblock.c
index c9b6d93d50..cd938c54bb 100644
--- a/src/soc/intel/apollolake/bootblock/bootblock.c
+++ b/src/soc/intel/apollolake/bootblock/bootblock.c
@@ -4,6 +4,7 @@
#include <cpu/x86/pae.h>
#include <device/pci.h>
#include <device/pci_ops.h>
+#include <gpio.h>
#include <intelblocks/cpulib.h>
#include <intelblocks/fast_spi.h>
#include <intelblocks/lpc_lib.h>
@@ -16,7 +17,6 @@
#include <intelblocks/uart.h>
#include <soc/iomap.h>
#include <soc/cpu.h>
-#include <soc/gpio.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
#include <soc/pci_devs.h>