summaryrefslogtreecommitdiff
path: root/src/soc/intel/tigerlake/acpi
diff options
context:
space:
mode:
authorDinesh Gehlot <digehlot@google.com>2023-01-17 05:57:56 +0000
committerElyes Haouas <ehaouas@noos.fr>2023-01-18 05:18:05 +0000
commit3e866812e96d88872af31f2cbb590c6870262205 (patch)
tree9093222a4b84cbd6952e30bec74d334cb9985e01 /src/soc/intel/tigerlake/acpi
parent8a2c904616722f51f5d3a500ba41b7e21b4735e2 (diff)
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 <digehlot@google.com> Change-Id: I12497d46e58aae41ec8dcb5d567267579dc12fc6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72041 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/tigerlake/acpi')
-rw-r--r--src/soc/intel/tigerlake/acpi/gpio.asl3
-rw-r--r--src/soc/intel/tigerlake/acpi/gpio_pch_h.asl2
2 files changed, 2 insertions, 3 deletions
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 <intelblocks/gpio.h>
-#include <soc/gpio_defs.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/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 <intelblocks/gpio.h>
+#include <gpio.h>
#include <soc/gpio_defs_pch_h.h>
#include <soc/intel/common/acpi/gpio.asl>
#include <soc/intel/common/block/acpi/acpi/gpio_op.asl>