diff options
author | Dinesh Gehlot <digehlot@google.com> | 2023-01-17 04:01:13 +0000 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2023-01-18 05:19:52 +0000 |
commit | 58cc96f0caa204a7c7eb08119fdd1df6b60605db (patch) | |
tree | f0bb9efaa50bda403823a652ed00435b0ca742f2 /src/soc | |
parent | ba09eb71c8ffe94ea752cdbc83ac5f400ebc3772 (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')
-rw-r--r-- | src/soc/intel/apollolake/acpi/gpio.asl | 2 | ||||
-rw-r--r-- | src/soc/intel/apollolake/bootblock/bootblock.c | 2 | ||||
-rw-r--r-- | src/soc/intel/apollolake/chip.c | 2 | ||||
-rw-r--r-- | src/soc/intel/apollolake/chip.h | 2 | ||||
-rw-r--r-- | src/soc/intel/apollolake/gpio_apl.c | 2 | ||||
-rw-r--r-- | src/soc/intel/apollolake/gpio_glk.c | 2 | ||||
-rw-r--r-- | src/soc/intel/apollolake/smihandler.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/soc/intel/apollolake/acpi/gpio.asl b/src/soc/intel/apollolake/acpi/gpio.asl index f5795ef6ce..978d55dad3 100644 --- a/src/soc/intel/apollolake/acpi/gpio.asl +++ b/src/soc/intel/apollolake/acpi/gpio.asl @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include <soc/gpio.h> +#include <gpio.h> #include <intelblocks/pcr.h> #include <soc/pcr_ids.h> #include "gpiolib.asl" 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> diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c index 607c1746ff..78fefb1dff 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -18,8 +18,8 @@ #include <intelblocks/xdci.h> #include <fsp/api.h> #include <fsp/util.h> +#include <gpio.h> #include <intelblocks/cpulib.h> -#include <intelblocks/gpio.h> #include <intelblocks/itss.h> #include <intelblocks/pmclib.h> #include <intelblocks/systemagent.h> diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h index 9352dcbab5..a92d98218c 100644 --- a/src/soc/intel/apollolake/chip.h +++ b/src/soc/intel/apollolake/chip.h @@ -7,8 +7,8 @@ #include <drivers/intel/gma/gma.h> #include <intelblocks/cfg.h> #include <intelblocks/gspi.h> +#include <gpio.h> #include <soc/gpe.h> -#include <soc/gpio.h> #include <intelblocks/lpc_lib.h> #include <intelblocks/power_limit.h> #include <device/i2c_simple.h> diff --git a/src/soc/intel/apollolake/gpio_apl.c b/src/soc/intel/apollolake/gpio_apl.c index d967a99671..ad6681eeef 100644 --- a/src/soc/intel/apollolake/gpio_apl.c +++ b/src/soc/intel/apollolake/gpio_apl.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include <intelblocks/gpio.h> +#include <gpio.h> #include <intelblocks/pcr.h> #include <soc/pcr_ids.h> #include <soc/pm.h> diff --git a/src/soc/intel/apollolake/gpio_glk.c b/src/soc/intel/apollolake/gpio_glk.c index f781c25dee..7346e210ac 100644 --- a/src/soc/intel/apollolake/gpio_glk.c +++ b/src/soc/intel/apollolake/gpio_glk.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include <intelblocks/gpio.h> +#include <gpio.h> #include <intelblocks/pcr.h> #include <soc/pcr_ids.h> #include <soc/pm.h> diff --git a/src/soc/intel/apollolake/smihandler.c b/src/soc/intel/apollolake/smihandler.c index bcbc8194db..b8319f4791 100644 --- a/src/soc/intel/apollolake/smihandler.c +++ b/src/soc/intel/apollolake/smihandler.c @@ -2,8 +2,8 @@ #include <cpu/x86/smm.h> #include <cpu/intel/em64t100_save_state.h> +#include <gpio.h> #include <intelblocks/smihandler.h> -#include <soc/gpio.h> #include <soc/iomap.h> #include <soc/pci_devs.h> #include <soc/pm.h> |