summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-10-16 21:21:30 +0200
committerFelix Held <felix-coreboot@felixheld.de>2019-10-20 17:19:34 +0000
commitc888a7bbaa5661abc6f44c0f6e4ba859966aebb3 (patch)
treeaaa2b49cf8a426e4202c84f07c86a4aa1c2e809e /src/soc
parent80df052d355ba2db3bb1b6e6e2c05d05a9ce6ad0 (diff)
src: Remove unused 'include <string.h>'
Change-Id: I2a94c3b6282e9915fd2b8136b124740c8a7b774c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36082 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/spi/fch_spi_special.c1
-rw-r--r--src/soc/intel/cannonlake/reset.c1
-rw-r--r--src/soc/intel/common/block/sgx/sgx.c1
-rw-r--r--src/soc/intel/icelake/reset.c1
-rw-r--r--src/soc/intel/skylake/me.c1
-rw-r--r--src/soc/mediatek/mt8173/i2c.c1
-rw-r--r--src/soc/mediatek/mt8183/ddp.c1
-rw-r--r--src/soc/mediatek/mt8183/include/soc/spm.h1
-rw-r--r--src/soc/qualcomm/qcs405/clock.c1
-rw-r--r--src/soc/qualcomm/qcs405/spi.c1
-rw-r--r--src/soc/qualcomm/sdm845/aop_load_reset.c1
11 files changed, 0 insertions, 11 deletions
diff --git a/src/soc/amd/common/block/spi/fch_spi_special.c b/src/soc/amd/common/block/spi/fch_spi_special.c
index 456a3896f5..fa3c00ac84 100644
--- a/src/soc/amd/common/block/spi/fch_spi_special.c
+++ b/src/soc/amd/common/block/spi/fch_spi_special.c
@@ -16,7 +16,6 @@
#include <console/console.h>
#include <spi-generic.h>
#include <amdblocks/fch_spi.h>
-#include <string.h>
int non_standard_sst_byte_write(u32 offset, const void *buf)
{
diff --git a/src/soc/intel/cannonlake/reset.c b/src/soc/intel/cannonlake/reset.c
index e01c22c463..4758faf7c5 100644
--- a/src/soc/intel/cannonlake/reset.c
+++ b/src/soc/intel/cannonlake/reset.c
@@ -19,7 +19,6 @@
#include <intelblocks/pmclib.h>
#include <fsp/util.h>
#include <soc/intel/common/reset.h>
-#include <string.h>
#include <soc/pci_devs.h>
void do_global_reset(void)
diff --git a/src/soc/intel/common/block/sgx/sgx.c b/src/soc/intel/common/block/sgx/sgx.c
index 377a71994f..b12e6cfcd6 100644
--- a/src/soc/intel/common/block/sgx/sgx.c
+++ b/src/soc/intel/common/block/sgx/sgx.c
@@ -24,7 +24,6 @@
#include <intelblocks/systemagent.h>
#include <soc/cpu.h>
#include <soc/pci_devs.h>
-#include <string.h>
static inline uint64_t sgx_resource(uint32_t low, uint32_t high)
{
diff --git a/src/soc/intel/icelake/reset.c b/src/soc/intel/icelake/reset.c
index d83b3ee3fa..5526a42545 100644
--- a/src/soc/intel/icelake/reset.c
+++ b/src/soc/intel/icelake/reset.c
@@ -19,7 +19,6 @@
#include <intelblocks/pmclib.h>
#include <fsp/util.h>
#include <soc/intel/common/reset.h>
-#include <string.h>
#include <soc/pci_devs.h>
void do_global_reset(void)
diff --git a/src/soc/intel/skylake/me.c b/src/soc/intel/skylake/me.c
index 5a378a2954..f90a165051 100644
--- a/src/soc/intel/skylake/me.c
+++ b/src/soc/intel/skylake/me.c
@@ -24,7 +24,6 @@
#include <soc/pci_devs.h>
#include <stdint.h>
#include <stdlib.h>
-#include <string.h>
/* HFSTS1[3:0] Current Working State Values */
diff --git a/src/soc/mediatek/mt8173/i2c.c b/src/soc/mediatek/mt8173/i2c.c
index 67de335ebf..22702d31b0 100644
--- a/src/soc/mediatek/mt8173/i2c.c
+++ b/src/soc/mediatek/mt8173/i2c.c
@@ -17,7 +17,6 @@
#include <console/console.h>
#include <delay.h>
#include <device/i2c_simple.h>
-#include <string.h>
#include <symbols.h>
#include <timer.h>
#include <device/mmio.h>
diff --git a/src/soc/mediatek/mt8183/ddp.c b/src/soc/mediatek/mt8183/ddp.c
index 0ae0be1815..3c2b0fd662 100644
--- a/src/soc/mediatek/mt8183/ddp.c
+++ b/src/soc/mediatek/mt8183/ddp.c
@@ -16,7 +16,6 @@
#include <device/mmio.h>
#include <edid.h>
#include <stdlib.h>
-#include <string.h>
#include <stddef.h>
#include <soc/addressmap.h>
#include <soc/ddp.h>
diff --git a/src/soc/mediatek/mt8183/include/soc/spm.h b/src/soc/mediatek/mt8183/include/soc/spm.h
index 4ca72b632a..6ab9647470 100644
--- a/src/soc/mediatek/mt8183/include/soc/spm.h
+++ b/src/soc/mediatek/mt8183/include/soc/spm.h
@@ -19,7 +19,6 @@
#include <arch/barrier.h>
#include <console/console.h>
#include <soc/addressmap.h>
-#include <string.h>
#include <stdint.h>
#include <types.h>
diff --git a/src/soc/qualcomm/qcs405/clock.c b/src/soc/qualcomm/qcs405/clock.c
index b7dd51b2a6..37fd2c2098 100644
--- a/src/soc/qualcomm/qcs405/clock.c
+++ b/src/soc/qualcomm/qcs405/clock.c
@@ -17,7 +17,6 @@
#include <types.h>
#include <delay.h>
#include <commonlib/helpers.h>
-#include <string.h>
#include <soc/clock.h>
#define DIV(div) (div ? (2*div - 1) : 0)
diff --git a/src/soc/qualcomm/qcs405/spi.c b/src/soc/qualcomm/qcs405/spi.c
index 13b9daef9d..827448ce91 100644
--- a/src/soc/qualcomm/qcs405/spi.c
+++ b/src/soc/qualcomm/qcs405/spi.c
@@ -35,7 +35,6 @@
#include <soc/spi.h>
#include <soc/clock.h>
#include <stdlib.h>
-#include <string.h>
#include <spi_flash.h>
#include <timer.h>
diff --git a/src/soc/qualcomm/sdm845/aop_load_reset.c b/src/soc/qualcomm/sdm845/aop_load_reset.c
index 02217f9bd3..c1cf0579cc 100644
--- a/src/soc/qualcomm/sdm845/aop_load_reset.c
+++ b/src/soc/qualcomm/sdm845/aop_load_reset.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-#include <string.h>
#include <arch/cache.h>
#include <cbfs.h>
#include <halt.h>