summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/acpi/acpi.c1
-rw-r--r--src/soc/amd/common/block/lpc/lpc_util.c1
-rw-r--r--src/soc/intel/braswell/northcluster.c1
-rw-r--r--src/soc/mediatek/common/dsi.c1
-rw-r--r--src/soc/mediatek/mt8173/i2c.c2
5 files changed, 0 insertions, 6 deletions
diff --git a/src/soc/amd/common/block/acpi/acpi.c b/src/soc/amd/common/block/acpi/acpi.c
index 964aef1882..2be9b9e25e 100644
--- a/src/soc/amd/common/block/acpi/acpi.c
+++ b/src/soc/amd/common/block/acpi/acpi.c
@@ -10,7 +10,6 @@
#include <halt.h>
#include <security/vboot/vboot_common.h>
#include <soc/southbridge.h>
-#include <halt.h>
void poweroff(void)
{
diff --git a/src/soc/amd/common/block/lpc/lpc_util.c b/src/soc/amd/common/block/lpc/lpc_util.c
index d2a65c8c96..eb129dc00d 100644
--- a/src/soc/amd/common/block/lpc/lpc_util.c
+++ b/src/soc/amd/common/block/lpc/lpc_util.c
@@ -12,7 +12,6 @@
/* The LPC-ISA bridge is always at D14F3 */
#if !defined(__SIMPLE_DEVICE__)
-#include <device/device.h>
#define _LPCB_DEV pcidev_on_root(0x14, 0x3)
#else
#define _LPCB_DEV PCI_DEV(0, 0x14, 0x3)
diff --git a/src/soc/intel/braswell/northcluster.c b/src/soc/intel/braswell/northcluster.c
index dd49acd3fc..1f310d490e 100644
--- a/src/soc/intel/braswell/northcluster.c
+++ b/src/soc/intel/braswell/northcluster.c
@@ -7,7 +7,6 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <cpu/x86/lapic_def.h>
-#include <cpu/x86/smm.h>
#include <fsp/util.h>
#include <soc/iomap.h>
#include <soc/iosf.h>
diff --git a/src/soc/mediatek/common/dsi.c b/src/soc/mediatek/common/dsi.c
index 73dacef33b..2505bbc075 100644
--- a/src/soc/mediatek/common/dsi.c
+++ b/src/soc/mediatek/common/dsi.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h>
-#include <device/mmio.h>
#include <console/console.h>
#include <device/mmio.h>
#include <delay.h>
diff --git a/src/soc/mediatek/mt8173/i2c.c b/src/soc/mediatek/mt8173/i2c.c
index af2e02958b..f80fb97121 100644
--- a/src/soc/mediatek/mt8173/i2c.c
+++ b/src/soc/mediatek/mt8173/i2c.c
@@ -7,9 +7,7 @@
#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/i2c.h>
-#include <device/mmio.h>
#include <soc/pll.h>
-#include <soc/i2c.h>
#define I2C_CLK_HZ (AXI_HZ / 16)