summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail
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/baytrail
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/baytrail')
-rw-r--r--src/soc/intel/baytrail/ramstage.c1
-rw-r--r--src/soc/intel/baytrail/southcluster.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/intel/baytrail/ramstage.c b/src/soc/intel/baytrail/ramstage.c
index 28aa588c01..0b681b0212 100644
--- a/src/soc/intel/baytrail/ramstage.c
+++ b/src/soc/intel/baytrail/ramstage.c
@@ -12,7 +12,6 @@
#include <device/device.h>
#include <device/pci_def.h>
#include <device/pci_ops.h>
-#include <string.h>
#include <soc/gpio.h>
#include <soc/lpc.h>
diff --git a/src/soc/intel/baytrail/southcluster.c b/src/soc/intel/baytrail/southcluster.c
index e4c2bf0ec9..033cd47580 100644
--- a/src/soc/intel/baytrail/southcluster.c
+++ b/src/soc/intel/baytrail/southcluster.c
@@ -12,7 +12,6 @@
#include <device/pci_ids.h>
#include <pc80/mc146818rtc.h>
#include <drivers/uart/uart8250reg.h>
-#include <string.h>
#include <soc/iomap.h>
#include <soc/irq.h>