summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-02-14 20:12:09 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-16 17:28:12 +0000
commit4a3fab0cbac978fc39ffb2aaacb729bd857b28f5 (patch)
treeb1f99bb32be05809162b7ba611d1856ebad154c2 /src/soc/intel/broadwell
parent86cf75acfb3e86bee656d3a5185d3be62c9fc1e3 (diff)
soc/intel/{baytrail,braswell,broadwell}: Remove unused <string.h>
Found using: diff <(git grep -l '#include <string.h>' -- src/) <(git grep -l 'STRINGIFY\|memcpy\|memmove\|memset\|memcmp\|memchr\|strdup\|strconcat\|strnlen\|strlen\|strchr\|strncpy\|strcpy\|strcmp\|strncmp\|strspn\|strcspn\|strstr\|strtok_r\|strtok\|atol\|strrchr\|skip_atoi\|snprintf' -- src/)|grep '<' Change-Id: Idc1a8a93a779f92079a0fbbcbc63530ffc061112 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50692 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel/broadwell')
-rw-r--r--src/soc/intel/broadwell/acpi.c1
-rw-r--r--src/soc/intel/broadwell/pch/lpc.c1
-rw-r--r--src/soc/intel/broadwell/pch/ramstage.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/soc/intel/broadwell/acpi.c b/src/soc/intel/broadwell/acpi.c
index 5546f2746c..66bc0585d0 100644
--- a/src/soc/intel/broadwell/acpi.c
+++ b/src/soc/intel/broadwell/acpi.c
@@ -8,7 +8,6 @@
#include <device/pci_ops.h>
#include <console/console.h>
#include <types.h>
-#include <string.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/turbo.h>
#include <soc/acpi.h>
diff --git a/src/soc/intel/broadwell/pch/lpc.c b/src/soc/intel/broadwell/pch/lpc.c
index e6900d69c1..170f88998f 100644
--- a/src/soc/intel/broadwell/pch/lpc.c
+++ b/src/soc/intel/broadwell/pch/lpc.c
@@ -11,7 +11,6 @@
#include <arch/ioapic.h>
#include <acpi/acpi.h>
#include <cpu/x86/smm.h>
-#include <string.h>
#include <soc/iobp.h>
#include <soc/iomap.h>
#include <soc/lpc.h>
diff --git a/src/soc/intel/broadwell/pch/ramstage.c b/src/soc/intel/broadwell/pch/ramstage.c
index 54654e20e1..f0390aa649 100644
--- a/src/soc/intel/broadwell/pch/ramstage.c
+++ b/src/soc/intel/broadwell/pch/ramstage.c
@@ -6,7 +6,6 @@
#include <bootstate.h>
#include <console/console.h>
#include <device/device.h>
-#include <string.h>
#include <soc/nvs.h>
#include <soc/pm.h>
#include <soc/intel/broadwell/chip.h>