summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-04 08:12:42 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-07 16:15:56 +0000
commit1d3b3c3c0955a652a1b602c5fd86dc6c5890e967 (patch)
tree0a56f185eff6301131104c842077293e2a0447a0
parent052163236c928de11fa9bf8efbd33c1565fb735d (diff)
downloadcoreboot-1d3b3c3c0955a652a1b602c5fd86dc6c5890e967.tar.xz
{src,util}: Remove duplicated includes
Change-Id: Id09cec6b2aae58b131b208e96fec539d068ff68a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32566 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/northbridge/intel/sandybridge/raminit_common.c2
-rw-r--r--util/cbmem/cbmem.c1
-rw-r--r--util/ectool/ectool.c1
-rw-r--r--util/romcc/romcc.c1
4 files changed, 1 insertions, 4 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c
index cbbd2317ed..5347c5c493 100644
--- a/src/northbridge/intel/sandybridge/raminit_common.c
+++ b/src/northbridge/intel/sandybridge/raminit_common.c
@@ -23,7 +23,7 @@
#include <northbridge/intel/sandybridge/chip.h>
#include <device/pci_def.h>
#include <delay.h>
-#include <arch/cpu.h>
+
#include "raminit_native.h"
#include "raminit_common.h"
#include "sandybridge.h"
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index ae1d2127fb..52fdc9b81f 100644
--- a/util/cbmem/cbmem.c
+++ b/util/cbmem/cbmem.c
@@ -19,7 +19,6 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <inttypes.h>
#include <getopt.h>
#include <dirent.h>
#include <errno.h>
diff --git a/util/ectool/ectool.c b/util/ectool/ectool.c
index bc3d46cd52..2af45c30f2 100644
--- a/util/ectool/ectool.c
+++ b/util/ectool/ectool.c
@@ -22,7 +22,6 @@
#include <sys/io.h>
#endif
#include <ec.h>
-#include <stdlib.h>
#if defined __NetBSD__ || defined __OpenBSD__
diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c
index 4cb2aadcc9..43be171213 100644
--- a/util/romcc/romcc.c
+++ b/util/romcc/romcc.c
@@ -16,7 +16,6 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
-#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <locale.h>