summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-23 11:18:46 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-02 07:41:25 +0000
commit48378e1f8d132a3d3bdbb7b1eac5c769c273e6e1 (patch)
tree507f4cf6c52e42a7a4bdcd79a925fbcf9ed42ce1 /src/soc
parenta3b02e2818bedf39f4f84388f6d52dcf3ee299cc (diff)
src: Remove duplicated includes
Change-Id: If8c7e26ebd954b19bfb8766b26570c6865ad255e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41676 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
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)