summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/pch
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2023-05-02 12:53:00 +0300
committerShelley Chen <shchen@google.com>2023-05-10 21:27:29 +0000
commit85556ac1dc9472a7624cdc3c82aa890407ecceda (patch)
treebc6fd0b8ebfe83e1337e8f568e65b0989f9b610b /src/soc/intel/broadwell/pch
parent5cd548b77308c86b474ffd2a16e9a89bc4efa7ec (diff)
soc/intel: Clean up some includes
Change-Id: Ibb680bb8f94fb8a2812f420ac38f15684b5c0b4f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74978 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/soc/intel/broadwell/pch')
-rw-r--r--src/soc/intel/broadwell/pch/fadt.c1
-rw-r--r--src/soc/intel/broadwell/pch/pmutil.c6
-rw-r--r--src/soc/intel/broadwell/pch/smihandler.c12
3 files changed, 9 insertions, 10 deletions
diff --git a/src/soc/intel/broadwell/pch/fadt.c b/src/soc/intel/broadwell/pch/fadt.c
index 8b79ec9c58..4e74d58e47 100644
--- a/src/soc/intel/broadwell/pch/fadt.c
+++ b/src/soc/intel/broadwell/pch/fadt.c
@@ -3,7 +3,6 @@
#include <acpi/acpi.h>
#include <soc/iomap.h>
#include <soc/pm.h>
-#include "chip.h"
void acpi_fill_fadt(acpi_fadt_t *fadt)
{
diff --git a/src/soc/intel/broadwell/pch/pmutil.c b/src/soc/intel/broadwell/pch/pmutil.c
index e310416eaa..8fc1670037 100644
--- a/src/soc/intel/broadwell/pch/pmutil.c
+++ b/src/soc/intel/broadwell/pch/pmutil.c
@@ -8,16 +8,16 @@
#include <acpi/acpi.h>
#include <arch/io.h>
#include <bootmode.h>
-#include <device/pci_ops.h>
+#include <console/console.h>
#include <device/device.h>
+#include <device/pci_ops.h>
#include <device/pci.h>
#include <halt.h>
-#include <console/console.h>
+#include <security/vboot/vbnv.h>
#include <soc/iomap.h>
#include <soc/lpc.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
-#include <security/vboot/vbnv.h>
#include <stdint.h>
#define GPIO_ALT_GPI_SMI_STS 0x50
diff --git a/src/soc/intel/broadwell/pch/smihandler.c b/src/soc/intel/broadwell/pch/smihandler.c
index 14d08af7af..99906d944c 100644
--- a/src/soc/intel/broadwell/pch/smihandler.c
+++ b/src/soc/intel/broadwell/pch/smihandler.c
@@ -3,25 +3,25 @@
#include <delay.h>
#include <types.h>
#include <arch/io.h>
-#include <device/mmio.h>
-#include <device/pci_ops.h>
#include <console/console.h>
+#include <cpu/intel/em64t101_save_state.h>
#include <cpu/x86/cache.h>
-#include <device/pci_def.h>
#include <cpu/x86/smm.h>
-#include <cpu/intel/em64t101_save_state.h>
+#include <device/mmio.h>
+#include <device/pci_def.h>
+#include <device/pci_ops.h>
+#include <drivers/intel/gma/i915_reg.h>
#include <spi-generic.h>
#include <elog.h>
#include <halt.h>
#include <option.h>
+#include <smmstore.h>
#include <soc/lpc.h>
#include <soc/nvs.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/rcba.h>
#include <soc/xhci.h>
-#include <drivers/intel/gma/i915_reg.h>
-#include <smmstore.h>
/**
* @brief Set the EOS bit