Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/32566 )
Change subject: {src,util}: Remove duplicated includes ......................................................................
{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 --- M src/northbridge/intel/sandybridge/raminit_common.c M util/cbmem/cbmem.c M util/ectool/ectool.c M util/romcc/romcc.c 4 files changed, 1 insertion(+), 4 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c index cbbd231..5347c5c 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 ae1d212..52fdc9b 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 bc3d46c..2af45c3 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 4cb2aad..43be171 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>