aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/skx
diff options
context:
space:
mode:
authorDinesh Gehlot <digehlot@google.com>2023-01-17 06:02:16 +0000
committerElyes Haouas <ehaouas@noos.fr>2023-01-18 05:18:22 +0000
commit6fecff20c1a7cd48763f9c93977b9d1e27b965b3 (patch)
tree1049e2d7bb24434a3550683fb540bd0e0fb0f7fb /src/soc/intel/xeon_sp/skx
parent3e866812e96d88872af31f2cbb590c6870262205 (diff)
soc/intel/xeon_sp: 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: I8135dc918cb04c854dc003966b7657806a42bad9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72042 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/soc/intel/xeon_sp/skx')
-rw-r--r--src/soc/intel/xeon_sp/skx/chip.c2
-rw-r--r--src/soc/intel/xeon_sp/skx/chip.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/xeon_sp/skx/chip.c b/src/soc/intel/xeon_sp/skx/chip.c
index 35e834aab3..924ce22bf6 100644
--- a/src/soc/intel/xeon_sp/skx/chip.c
+++ b/src/soc/intel/xeon_sp/skx/chip.c
@@ -3,8 +3,8 @@
#include <cbfs.h>
#include <console/console.h>
#include <device/pci.h>
+#include <gpio.h>
#include <intelblocks/acpi.h>
-#include <intelblocks/gpio.h>
#include <soc/acpi.h>
#include <soc/chip_common.h>
#include <soc/pch.h>
diff --git a/src/soc/intel/xeon_sp/skx/chip.h b/src/soc/intel/xeon_sp/skx/chip.h
index b852c4a128..0c0521178c 100644
--- a/src/soc/intel/xeon_sp/skx/chip.h
+++ b/src/soc/intel/xeon_sp/skx/chip.h
@@ -3,11 +3,11 @@
#ifndef _SOC_CHIP_H_
#define _SOC_CHIP_H_
-#include <stdint.h>
+#include <gpio.h>
#include <intelblocks/cfg.h>
#include <soc/acpi.h>
-#include <soc/gpio.h>
#include <soc/irq.h>
+#include <stdint.h>
struct soc_intel_xeon_sp_skx_config {
/* Common struct containing soc config data required by common code */