summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-07 20:16:34 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-13 08:48:17 +0000
commitf70bd99d2af3627b1dbdbea414941a12d6ecf6b3 (patch)
tree1206eb6d21d7bb4efa8603512354f03ceea5f25d /src/mainboard/lenovo
parent4611ad8930f57aa0e394e476c613fae1a4931c13 (diff)
downloadcoreboot-f70bd99d2af3627b1dbdbea414941a12d6ecf6b3.tar.xz
src: Remove unused '#include <stdint.h>'
unused includes of <stdin.h> found using following commande: diff <(git grep -l '#include <stdint.h>' -- src/) <(git grep -l 'int8_t\|uint8_t\|int16_t\|uint16_t\|int32_t\|uint32_t\|int64_t\| uint64_t\|intptr_t\|uintptr_t\|intmax_t\|uintmax_t\|s8\|u8\|s16\| u16\|s32\|u32\|s64\|u64\|INT8_MIN\|INT8_MAX\|UINT8_MAX\|INT16_MIN\ |INT16_MAX\|UINT16_MAX\|INT32_MIN\|INT32_MAX\|UINT32_MAX\|INT64_MIN\ |INT64_MAX\|UINT64_MAX\|INTMAX_MIN\|INTMAX_MAX\|UINTMAX_MAX' -- src/) |grep '<' |grep -v vendor |grep -vF '.h' Change-Id: Icb9b54c6abfb18d1e263665981968a4d7cccabeb Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41148 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/t400/blc.c1
-rw-r--r--src/mainboard/lenovo/t60/mptable.c1
-rw-r--r--src/mainboard/lenovo/x230/early_init.c1
-rw-r--r--src/mainboard/lenovo/x60/mptable.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/mainboard/lenovo/t400/blc.c b/src/mainboard/lenovo/t400/blc.c
index e1de97f5fa..823d9258e1 100644
--- a/src/mainboard/lenovo/t400/blc.c
+++ b/src/mainboard/lenovo/t400/blc.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stdint.h>
#include <commonlib/helpers.h>
#include <northbridge/intel/gm45/gm45.h>
diff --git a/src/mainboard/lenovo/t60/mptable.c b/src/mainboard/lenovo/t60/mptable.c
index 96d2be7c50..2dc3a1aba0 100644
--- a/src/mainboard/lenovo/t60/mptable.c
+++ b/src/mainboard/lenovo/t60/mptable.c
@@ -3,7 +3,6 @@
#include <device/device.h>
#include <arch/smp/mpspec.h>
#include <arch/ioapic.h>
-#include <stdint.h>
static void *smp_write_config_table(void *v)
{
diff --git a/src/mainboard/lenovo/x230/early_init.c b/src/mainboard/lenovo/x230/early_init.c
index 46b90cc070..2089ee6bb2 100644
--- a/src/mainboard/lenovo/x230/early_init.c
+++ b/src/mainboard/lenovo/x230/early_init.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stdint.h>
#include <cpu/x86/lapic.h>
#include <northbridge/intel/sandybridge/sandybridge.h>
#include <northbridge/intel/sandybridge/raminit_native.h>
diff --git a/src/mainboard/lenovo/x60/mptable.c b/src/mainboard/lenovo/x60/mptable.c
index 396dcbc84c..9e2cff101b 100644
--- a/src/mainboard/lenovo/x60/mptable.c
+++ b/src/mainboard/lenovo/x60/mptable.c
@@ -3,7 +3,6 @@
#include <device/device.h>
#include <arch/smp/mpspec.h>
#include <arch/ioapic.h>
-#include <stdint.h>
static void *smp_write_config_table(void *v)
{