From 166c75c7785965e7c7013b20a420720635cee656 Mon Sep 17 00:00:00 2001 From: Dinesh Gehlot Date: Tue, 3 Jan 2023 05:26:19 +0000 Subject: [PATCH] soc/intel/meteorlake: 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 will include soc/gpio.h which will include intelblocks/gpio.h which will include soc/gpio_defs.h BUG=b:261778357 TEST=Able to build and boot Google/rex. Signed-off-by: Dinesh Gehlot Change-Id: I58e428cde5e13f4f0dfe528d798c0613b7f8a94a Reviewed-on: https://review.coreboot.org/c/coreboot/+/71630 Reviewed-by: Subrata Banik Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- src/soc/intel/meteorlake/acpi/gpio.asl | 1 - src/soc/intel/meteorlake/chip.c | 2 +- src/soc/intel/meteorlake/chip.h | 2 +- src/soc/intel/meteorlake/finalize.c | 2 +- src/soc/intel/meteorlake/gpio.c | 2 +- src/soc/intel/meteorlake/pmutil.c | 4 ++-- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/soc/intel/meteorlake/acpi/gpio.asl b/src/soc/intel/meteorlake/acpi/gpio.asl index f7dbc8793d..440ee751b0 100644 --- a/src/soc/intel/meteorlake/acpi/gpio.asl +++ b/src/soc/intel/meteorlake/acpi/gpio.asl @@ -1,5 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include diff --git a/src/soc/intel/meteorlake/chip.c b/src/soc/intel/meteorlake/chip.c index 332c0f8ce0..80b3cdb27e 100644 --- a/src/soc/intel/meteorlake/chip.c +++ b/src/soc/intel/meteorlake/chip.c @@ -4,9 +4,9 @@ #include #include #include +#include #include #include -#include #include #include #include diff --git a/src/soc/intel/meteorlake/chip.h b/src/soc/intel/meteorlake/chip.h index dfd5c367e7..080f05738a 100644 --- a/src/soc/intel/meteorlake/chip.h +++ b/src/soc/intel/meteorlake/chip.h @@ -4,8 +4,8 @@ #define _SOC_CHIP_H_ #include +#include #include -#include #include #include #include diff --git a/src/soc/intel/meteorlake/finalize.c b/src/soc/intel/meteorlake/finalize.c index c33bf5a662..6bd304cea6 100644 --- a/src/soc/intel/meteorlake/finalize.c +++ b/src/soc/intel/meteorlake/finalize.c @@ -6,8 +6,8 @@ #include #include #include +#include #include -#include #include #include #include diff --git a/src/soc/intel/meteorlake/gpio.c b/src/soc/intel/meteorlake/gpio.c index 1420827cb6..2662ddeed6 100644 --- a/src/soc/intel/meteorlake/gpio.c +++ b/src/soc/intel/meteorlake/gpio.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include +#include #include #include #include diff --git a/src/soc/intel/meteorlake/pmutil.c b/src/soc/intel/meteorlake/pmutil.c index 6f35428a4d..fc627c3f47 100644 --- a/src/soc/intel/meteorlake/pmutil.c +++ b/src/soc/intel/meteorlake/pmutil.c @@ -8,18 +8,18 @@ #define __SIMPLE_DEVICE__ #include +#include #include #include #include #include -#include +#include #include #include #include #include #include #include -#include #include #include #include