summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-11 20:52:30 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-16 09:50:03 +0000
commitead574ed020063f1e6efe5289669ab67e2a76780 (patch)
treedcda019fe464217fec69b12e834d9ec24b28f474 /src/soc/intel/skylake
parentbe11d9369b364253a29c8c4a7bc9a6288ff7df65 (diff)
src: Get rid of duplicated includes
Change-Id: I252a1cd77bf647477edb7dddadb7e527de872439 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29582 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/intel/skylake')
-rw-r--r--src/soc/intel/skylake/chip_fsp20.c4
-rw-r--r--src/soc/intel/skylake/elog.c1
-rw-r--r--src/soc/intel/skylake/include/soc/pci_devs.h1
3 files changed, 0 insertions, 6 deletions
diff --git a/src/soc/intel/skylake/chip_fsp20.c b/src/soc/intel/skylake/chip_fsp20.c
index 7cc6de51f7..8a78348794 100644
--- a/src/soc/intel/skylake/chip_fsp20.c
+++ b/src/soc/intel/skylake/chip_fsp20.c
@@ -20,13 +20,9 @@
#include <fsp/api.h>
#include <arch/acpi.h>
#include <arch/io.h>
-#include <chip.h>
-#include <bootstate.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/pci.h>
#include <device/pci_ids.h>
-#include <fsp/api.h>
#include <fsp/util.h>
#include <intelblocks/chip.h>
#include <intelblocks/itss.h>
diff --git a/src/soc/intel/skylake/elog.c b/src/soc/intel/skylake/elog.c
index 25a9610b53..a2fa52ac1f 100644
--- a/src/soc/intel/skylake/elog.c
+++ b/src/soc/intel/skylake/elog.c
@@ -24,7 +24,6 @@
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/smbus.h>
-#include <stdint.h>
static void pch_log_gpio_gpe(u32 gpe0_sts, u32 gpe0_en, int start)
{
diff --git a/src/soc/intel/skylake/include/soc/pci_devs.h b/src/soc/intel/skylake/include/soc/pci_devs.h
index bc6c9cb7b4..1fc3621ce3 100644
--- a/src/soc/intel/skylake/include/soc/pci_devs.h
+++ b/src/soc/intel/skylake/include/soc/pci_devs.h
@@ -25,7 +25,6 @@
#if !defined(__SIMPLE_DEVICE__)
#include <device/device.h>
-#include <device/pci_def.h>
#define _SA_DEV(slot) dev_find_slot(0, _SA_DEVFN(slot))
#define _PCH_DEV(slot, func) dev_find_slot(0, _PCH_DEVFN(slot, func))
#else