diff options
author | Dinesh Gehlot <digehlot@google.com> | 2022-12-25 13:00:04 +0000 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-12-27 15:23:11 +0000 |
commit | d910fec9a6c925d3bf6cfaaed90f74c7095050d2 (patch) | |
tree | 136d54d7e2091e3e073fc8f9f6286116fd295e61 /src | |
parent | a1b9f0588b00951f2863e585e071b5715d027113 (diff) |
soc/intel/alderlake: Use common gpio.h include
Replace the intelblocks/gpio.h and soc/gpio.h includes with the
common gpio.h which will include soc/gpio.h which will include
intelblocks/gpio.h
BUG=b:261778357
TEST=Able to build and boot Google/brya.
Change-Id: Ia90a8ea7b4ee125657c7277e3e14018cfe5423a9
Signed-off-by: Dinesh Gehlot <digehlot@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71266
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/alderlake/acpi/gpio.asl | 3 | ||||
-rw-r--r-- | src/soc/intel/alderlake/chip.c | 2 | ||||
-rw-r--r-- | src/soc/intel/alderlake/chip.h | 2 | ||||
-rw-r--r-- | src/soc/intel/alderlake/fsp_params.c | 4 | ||||
-rw-r--r-- | src/soc/intel/alderlake/gpio.c | 2 | ||||
-rw-r--r-- | src/soc/intel/alderlake/gpio_pch_s.c | 2 | ||||
-rw-r--r-- | src/soc/intel/alderlake/pmutil.c | 4 | ||||
-rw-r--r-- | src/soc/intel/alderlake/romstage/fsp_params.c | 2 |
8 files changed, 10 insertions, 11 deletions
diff --git a/src/soc/intel/alderlake/acpi/gpio.asl b/src/soc/intel/alderlake/acpi/gpio.asl index 702b07387b..f860bb9ac2 100644 --- a/src/soc/intel/alderlake/acpi/gpio.asl +++ b/src/soc/intel/alderlake/acpi/gpio.asl @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <intelblocks/gpio.h> -#include <soc/gpio.h> +#include <gpio.h> #include <soc/intel/common/acpi/gpio.asl> #include <soc/intel/common/block/acpi/acpi/gpio_op.asl> #include <soc/irq.h> diff --git a/src/soc/intel/alderlake/chip.c b/src/soc/intel/alderlake/chip.c index 86d40fd375..87a3029b09 100644 --- a/src/soc/intel/alderlake/chip.c +++ b/src/soc/intel/alderlake/chip.c @@ -4,10 +4,10 @@ #include <device/pci.h> #include <fsp/api.h> #include <fsp/util.h> +#include <gpio.h> #include <intelblocks/acpi.h> #include <intelblocks/cfg.h> #include <intelblocks/cse.h> -#include <intelblocks/gpio.h> #include <intelblocks/irq.h> #include <intelblocks/itss.h> #include <intelblocks/pcie_rp.h> diff --git a/src/soc/intel/alderlake/chip.h b/src/soc/intel/alderlake/chip.h index 82493a7eba..18429b8236 100644 --- a/src/soc/intel/alderlake/chip.h +++ b/src/soc/intel/alderlake/chip.h @@ -6,8 +6,8 @@ #include <drivers/i2c/designware/dw_i2c.h> #include <drivers/intel/gma/gma.h> #include <device/pci_ids.h> +#include <gpio.h> #include <intelblocks/cfg.h> -#include <intelblocks/gpio.h> #include <intelblocks/gspi.h> #include <intelblocks/power_limit.h> #include <intelblocks/pcie_rp.h> diff --git a/src/soc/intel/alderlake/fsp_params.c b/src/soc/intel/alderlake/fsp_params.c index 03b5686bab..08108f4f19 100644 --- a/src/soc/intel/alderlake/fsp_params.c +++ b/src/soc/intel/alderlake/fsp_params.c @@ -10,7 +10,7 @@ #include <fsp/fsp_debug_event.h> #include <fsp/ppi/mp_service_ppi.h> #include <fsp/util.h> -#include <option.h> +#include <gpio.h> #include <intelblocks/irq.h> #include <intelblocks/lpss.h> #include <intelblocks/mp_init.h> @@ -19,8 +19,8 @@ #include <intelpch/lockdown.h> #include <intelblocks/systemagent.h> #include <intelblocks/tcss.h> +#include <option.h> #include <soc/cpu.h> -#include <soc/gpio.h> #include <soc/intel/common/vbt.h> #include <soc/pci_devs.h> #include <soc/pcie.h> diff --git a/src/soc/intel/alderlake/gpio.c b/src/soc/intel/alderlake/gpio.c index 69e2982368..38774b13a7 100644 --- a/src/soc/intel/alderlake/gpio.c +++ b/src/soc/intel/alderlake/gpio.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/pmc.h> diff --git a/src/soc/intel/alderlake/gpio_pch_s.c b/src/soc/intel/alderlake/gpio_pch_s.c index cb4fee15f5..d49daeb564 100644 --- a/src/soc/intel/alderlake/gpio_pch_s.c +++ b/src/soc/intel/alderlake/gpio_pch_s.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/pmc.h> diff --git a/src/soc/intel/alderlake/pmutil.c b/src/soc/intel/alderlake/pmutil.c index e6aeed8e7d..cba3ff43a2 100644 --- a/src/soc/intel/alderlake/pmutil.c +++ b/src/soc/intel/alderlake/pmutil.c @@ -14,18 +14,18 @@ #define __SIMPLE_DEVICE__ #include <acpi/acpi_pm.h> +#include <console/console.h> #include <device/mmio.h> #include <device/device.h> #include <device/pci.h> #include <device/pci_def.h> -#include <console/console.h> +#include <gpio.h> #include <intelblocks/pmclib.h> #include <intelblocks/rtc.h> #include <intelblocks/tco.h> #include <security/vboot/vbnv.h> #include <soc/espi.h> #include <soc/gpe.h> -#include <soc/gpio.h> #include <soc/iomap.h> #include <soc/pci_devs.h> #include <soc/pm.h> diff --git a/src/soc/intel/alderlake/romstage/fsp_params.c b/src/soc/intel/alderlake/romstage/fsp_params.c index 90cabf85ec..b2d0120c7d 100644 --- a/src/soc/intel/alderlake/romstage/fsp_params.c +++ b/src/soc/intel/alderlake/romstage/fsp_params.c @@ -8,11 +8,11 @@ #include <drivers/wifi/generic/wifi.h> #include <fsp/fsp_debug_event.h> #include <fsp/util.h> +#include <gpio.h> #include <intelbasecode/debug_feature.h> #include <intelblocks/cpulib.h> #include <intelblocks/pcie_rp.h> #include <option.h> -#include <soc/gpio.h> #include <soc/iomap.h> #include <soc/msr.h> #include <soc/pci_devs.h> |