From 3e866812e96d88872af31f2cbb590c6870262205 Mon Sep 17 00:00:00 2001 From: Dinesh Gehlot Date: Tue, 17 Jan 2023 05:57:56 +0000 Subject: soc/intel/tigerlake: 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. This patch also fixes alphabetic ordering of included headers. BUG=b:261778357 TEST=Able to build and boot. Signed-off-by: Dinesh Gehlot Change-Id: I12497d46e58aae41ec8dcb5d567267579dc12fc6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72041 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/soc/intel/tigerlake/acpi/gpio.asl | 3 +-- src/soc/intel/tigerlake/acpi/gpio_pch_h.asl | 2 +- src/soc/intel/tigerlake/chip.c | 2 +- src/soc/intel/tigerlake/chip.h | 3 +-- src/soc/intel/tigerlake/fsp_params.c | 6 +++--- src/soc/intel/tigerlake/gpio.c | 2 +- src/soc/intel/tigerlake/gpio_pch_h.c | 2 +- src/soc/intel/tigerlake/pmutil.c | 4 ++-- src/soc/intel/tigerlake/romstage/fsp_params.c | 2 +- 9 files changed, 12 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/soc/intel/tigerlake/acpi/gpio.asl b/src/soc/intel/tigerlake/acpi/gpio.asl index 5a6e54a4a7..4c5f7c73ca 100644 --- a/src/soc/intel/tigerlake/acpi/gpio.asl +++ b/src/soc/intel/tigerlake/acpi/gpio.asl @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include -#include +#include #include #include #include diff --git a/src/soc/intel/tigerlake/acpi/gpio_pch_h.asl b/src/soc/intel/tigerlake/acpi/gpio_pch_h.asl index e58e723d4b..3615d5bc18 100644 --- a/src/soc/intel/tigerlake/acpi/gpio_pch_h.asl +++ b/src/soc/intel/tigerlake/acpi/gpio_pch_h.asl @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include +#include #include #include #include diff --git a/src/soc/intel/tigerlake/chip.c b/src/soc/intel/tigerlake/chip.c index 867e4108bc..242ec987d2 100644 --- a/src/soc/intel/tigerlake/chip.c +++ b/src/soc/intel/tigerlake/chip.c @@ -4,9 +4,9 @@ #include #include #include +#include #include #include -#include #include #include #include diff --git a/src/soc/intel/tigerlake/chip.h b/src/soc/intel/tigerlake/chip.h index c34892a39a..6aa040840e 100644 --- a/src/soc/intel/tigerlake/chip.h +++ b/src/soc/intel/tigerlake/chip.h @@ -5,15 +5,14 @@ #include #include +#include #include -#include #include #include #include #include #include #include -#include #include #include #include diff --git a/src/soc/intel/tigerlake/fsp_params.c b/src/soc/intel/tigerlake/fsp_params.c index f67e205652..b823f50301 100644 --- a/src/soc/intel/tigerlake/fsp_params.c +++ b/src/soc/intel/tigerlake/fsp_params.c @@ -2,15 +2,15 @@ #include #include -#include #include +#include #include #include #include #include #include #include -#include +#include #include #include #include @@ -18,8 +18,8 @@ #include #include #include +#include #include -#include #include #include #include diff --git a/src/soc/intel/tigerlake/gpio.c b/src/soc/intel/tigerlake/gpio.c index 3fd8bfb97c..7053f3a207 100644 --- a/src/soc/intel/tigerlake/gpio.c +++ b/src/soc/intel/tigerlake/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/tigerlake/gpio_pch_h.c b/src/soc/intel/tigerlake/gpio_pch_h.c index 96f07a6938..64662d735b 100644 --- a/src/soc/intel/tigerlake/gpio_pch_h.c +++ b/src/soc/intel/tigerlake/gpio_pch_h.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include +#include #include #include #include diff --git a/src/soc/intel/tigerlake/pmutil.c b/src/soc/intel/tigerlake/pmutil.c index b8bf975bde..346fb35603 100644 --- a/src/soc/intel/tigerlake/pmutil.c +++ b/src/soc/intel/tigerlake/pmutil.c @@ -14,17 +14,17 @@ #define __SIMPLE_DEVICE__ #include +#include #include #include #include #include -#include +#include #include #include #include #include #include -#include #include #include #include diff --git a/src/soc/intel/tigerlake/romstage/fsp_params.c b/src/soc/intel/tigerlake/romstage/fsp_params.c index d4e694e4e0..dd771655f2 100644 --- a/src/soc/intel/tigerlake/romstage/fsp_params.c +++ b/src/soc/intel/tigerlake/romstage/fsp_params.c @@ -6,9 +6,9 @@ #include #include #include +#include #include #include -#include #include #include #include -- cgit v1.2.3