summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-12-31 08:37:39 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-04 14:56:56 +0000
commitfc86f8bf27ea41f9c9e07575883210bfb2092db4 (patch)
tree6feaa5584c2bba627ecd221386168688a38c9d61 /src
parent3a0355a8bc068aa3dbcc19cc74826b14505c8f61 (diff)
src/mb: Remove unused <string.h>
Change-Id: I5f2710b2034882a24a041d99e37ec364193d85e6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60551 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/northbridge.c1
-rw-r--r--src/mainboard/google/brya/variants/brya0/gpio.c1
-rw-r--r--src/mainboard/google/brya/variants/brya4es/gpio.c1
-rw-r--r--src/mainboard/google/slippy/variants/falco/romstage.c1
-rw-r--r--src/mainboard/google/slippy/variants/leon/romstage.c1
-rw-r--r--src/mainboard/google/slippy/variants/peppy/romstage.c1
-rw-r--r--src/mainboard/google/slippy/variants/wolf/romstage.c1
-rw-r--r--src/mainboard/google/zork/variants/dalboz/variant.c1
-rw-r--r--src/mainboard/intel/shadowmountain/romstage.c1
-rw-r--r--src/mainboard/ocp/deltalake/uartio_vpd.c1
-rw-r--r--src/mainboard/samsung/lumpy/mainboard.c1
11 files changed, 0 insertions, 11 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/northbridge.c b/src/mainboard/emulation/qemu-i440fx/northbridge.c
index e1765faba1..06aa83af50 100644
--- a/src/mainboard/emulation/qemu-i440fx/northbridge.c
+++ b/src/mainboard/emulation/qemu-i440fx/northbridge.c
@@ -10,7 +10,6 @@
#include <arch/ioapic.h>
#include <device/device.h>
#include <stdlib.h>
-#include <string.h>
#include <smbios.h>
#include <types.h>
#include "memory.h"
diff --git a/src/mainboard/google/brya/variants/brya0/gpio.c b/src/mainboard/google/brya/variants/brya0/gpio.c
index c3cfc0c3d4..95151bce5e 100644
--- a/src/mainboard/google/brya/variants/brya0/gpio.c
+++ b/src/mainboard/google/brya/variants/brya0/gpio.c
@@ -4,7 +4,6 @@
#include <boardid.h>
#include <console/console.h>
#include <soc/gpio.h>
-#include <string.h>
static const struct pad_config board_id0_1_overrides[] = {
/* B2 : VRALERT# ==> NC */
diff --git a/src/mainboard/google/brya/variants/brya4es/gpio.c b/src/mainboard/google/brya/variants/brya4es/gpio.c
index c3cfc0c3d4..95151bce5e 100644
--- a/src/mainboard/google/brya/variants/brya4es/gpio.c
+++ b/src/mainboard/google/brya/variants/brya4es/gpio.c
@@ -4,7 +4,6 @@
#include <boardid.h>
#include <console/console.h>
#include <soc/gpio.h>
-#include <string.h>
static const struct pad_config board_id0_1_overrides[] = {
/* B2 : VRALERT# ==> NC */
diff --git a/src/mainboard/google/slippy/variants/falco/romstage.c b/src/mainboard/google/slippy/variants/falco/romstage.c
index 9ab76292fb..b391d81b31 100644
--- a/src/mainboard/google/slippy/variants/falco/romstage.c
+++ b/src/mainboard/google/slippy/variants/falco/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <string.h>
#include <northbridge/intel/haswell/raminit.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <southbridge/intel/lynxpoint/lp_gpio.h>
diff --git a/src/mainboard/google/slippy/variants/leon/romstage.c b/src/mainboard/google/slippy/variants/leon/romstage.c
index 6911c257b0..50a1b7305c 100644
--- a/src/mainboard/google/slippy/variants/leon/romstage.c
+++ b/src/mainboard/google/slippy/variants/leon/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <string.h>
#include <northbridge/intel/haswell/raminit.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <southbridge/intel/lynxpoint/lp_gpio.h>
diff --git a/src/mainboard/google/slippy/variants/peppy/romstage.c b/src/mainboard/google/slippy/variants/peppy/romstage.c
index efbbc7f8c7..32fdd97e94 100644
--- a/src/mainboard/google/slippy/variants/peppy/romstage.c
+++ b/src/mainboard/google/slippy/variants/peppy/romstage.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdint.h>
-#include <string.h>
#include <ec/google/chromeec/ec.h>
#include <northbridge/intel/haswell/raminit.h>
#include <southbridge/intel/lynxpoint/pch.h>
diff --git a/src/mainboard/google/slippy/variants/wolf/romstage.c b/src/mainboard/google/slippy/variants/wolf/romstage.c
index 4c67afefcf..7c1bff007b 100644
--- a/src/mainboard/google/slippy/variants/wolf/romstage.c
+++ b/src/mainboard/google/slippy/variants/wolf/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <string.h>
#include <northbridge/intel/haswell/raminit.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <southbridge/intel/lynxpoint/lp_gpio.h>
diff --git a/src/mainboard/google/zork/variants/dalboz/variant.c b/src/mainboard/google/zork/variants/dalboz/variant.c
index b4e5bcc671..4b23ed5cab 100644
--- a/src/mainboard/google/zork/variants/dalboz/variant.c
+++ b/src/mainboard/google/zork/variants/dalboz/variant.c
@@ -5,7 +5,6 @@
#include <device/device.h>
#include <ec/google/chromeec/ec.h>
#include <ec/google/chromeec/i2c_tunnel/chip.h>
-#include <string.h>
#define DALBOZ_DB_HDMI 0x1
diff --git a/src/mainboard/intel/shadowmountain/romstage.c b/src/mainboard/intel/shadowmountain/romstage.c
index 3aacf38a03..dffdcdc4a0 100644
--- a/src/mainboard/intel/shadowmountain/romstage.c
+++ b/src/mainboard/intel/shadowmountain/romstage.c
@@ -4,7 +4,6 @@
#include <fsp/api.h>
#include <soc/romstage.h>
#include <spd_bin.h>
-#include <string.h>
#include <soc/meminit.h>
#include <baseboard/variants.h>
#include <cbfs.h>
diff --git a/src/mainboard/ocp/deltalake/uartio_vpd.c b/src/mainboard/ocp/deltalake/uartio_vpd.c
index d2e052f93a..83034727cd 100644
--- a/src/mainboard/ocp/deltalake/uartio_vpd.c
+++ b/src/mainboard/ocp/deltalake/uartio_vpd.c
@@ -3,7 +3,6 @@
#include <console/console.h>
#include <drivers/vpd/vpd.h>
#include <console/uart.h>
-#include <string.h>
#include "vpd.h"
diff --git a/src/mainboard/samsung/lumpy/mainboard.c b/src/mainboard/samsung/lumpy/mainboard.c
index 9bf3b96e65..0605b5ffa4 100644
--- a/src/mainboard/samsung/lumpy/mainboard.c
+++ b/src/mainboard/samsung/lumpy/mainboard.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <types.h>
-#include <string.h>
#include <device/device.h>
#include <drivers/intel/gma/int15.h>
#include <acpi/acpi.h>