summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/51nb/x210/romstage.c1
-rw-r--r--src/mainboard/google/fizz/mainboard.c1
-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
-rw-r--r--src/southbridge/amd/agesa/hudson/early_setup.c1
-rw-r--r--src/southbridge/amd/pi/hudson/early_setup.c1
9 files changed, 0 insertions, 10 deletions
diff --git a/src/mainboard/51nb/x210/romstage.c b/src/mainboard/51nb/x210/romstage.c
index caaa52d4a2..60f008c20a 100644
--- a/src/mainboard/51nb/x210/romstage.c
+++ b/src/mainboard/51nb/x210/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <string.h>
#include <assert.h>
#include <soc/romstage.h>
#include <spd_bin.h>
diff --git a/src/mainboard/google/fizz/mainboard.c b/src/mainboard/google/fizz/mainboard.c
index c86be82c68..7b8905888a 100644
--- a/src/mainboard/google/fizz/mainboard.c
+++ b/src/mainboard/google/fizz/mainboard.c
@@ -10,7 +10,6 @@
#include <ec/google/chromeec/ec.h>
#include <gpio.h>
#include <intelblocks/power_limit.h>
-#include <variant/gpio.h>
#include <smbios.h>
#include <soc/gpio.h>
#include <soc/pci_devs.h>
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)
diff --git a/src/southbridge/amd/agesa/hudson/early_setup.c b/src/southbridge/amd/agesa/hudson/early_setup.c
index 63d2b81c22..48649453c1 100644
--- a/src/southbridge/amd/agesa/hudson/early_setup.c
+++ b/src/southbridge/amd/agesa/hudson/early_setup.c
@@ -7,7 +7,6 @@
#include <amdblocks/acpimmio.h>
#include <device/pci_ops.h>
#include <console/console.h>
-#include <amdblocks/acpimmio.h>
#include "hudson.h"
diff --git a/src/southbridge/amd/pi/hudson/early_setup.c b/src/southbridge/amd/pi/hudson/early_setup.c
index 09a2750fcf..8bca42b6ee 100644
--- a/src/southbridge/amd/pi/hudson/early_setup.c
+++ b/src/southbridge/amd/pi/hudson/early_setup.c
@@ -9,7 +9,6 @@
#include <device/mmio.h>
#include <device/pci_ops.h>
#include <console/console.h>
-#include <amdblocks/acpimmio.h>
#include "hudson.h"
#include "pci_devs.h"