summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-10-25 23:58:06 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-26 22:08:40 +0000
commitce934056df417e0928bf3287d014d202f217d875 (patch)
treefd6572c25b3d52cb64e3b0f02c7f37a3ea4c5df1
parent711c0e5a5441a1f005907589ef565782a5290936 (diff)
mb/google/guybrush,skyrim: add missing string.h include
string.h defines the memset function. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I286557d6ad83990bc101eaa930bde04345859c0b Reviewed-on: https://review.coreboot.org/c/coreboot/+/68845 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
-rw-r--r--src/mainboard/google/guybrush/mainboard.c1
-rw-r--r--src/mainboard/google/skyrim/mainboard.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/mainboard.c b/src/mainboard/google/guybrush/mainboard.c
index bfb0f88dd5..d3a45c1400 100644
--- a/src/mainboard/google/guybrush/mainboard.c
+++ b/src/mainboard/google/guybrush/mainboard.c
@@ -12,6 +12,7 @@
#include <gpio.h>
#include <soc/acpi.h>
#include <variant/ec.h>
+#include <string.h>
#define BACKLIGHT_GPIO GPIO_129
#define WWAN_AUX_RST_GPIO GPIO_18
diff --git a/src/mainboard/google/skyrim/mainboard.c b/src/mainboard/google/skyrim/mainboard.c
index 58e11f5503..3ddcf4227a 100644
--- a/src/mainboard/google/skyrim/mainboard.c
+++ b/src/mainboard/google/skyrim/mainboard.c
@@ -6,6 +6,7 @@
#include <console/console.h>
#include <device/device.h>
#include <soc/acpi.h>
+#include <string.h>
#include <variant/ec.h>
/*