summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-04-15 00:19:49 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-04-15 23:40:41 +0000
commit70c70131023336aa718c928174b7c6e981679fcb (patch)
treea9c6d1b8471966e7489f3cefe5aebcf46a503d8c /src/mainboard
parent659319250ead892d582231b68d27e7ee88c29c2f (diff)
mb/google/guybrush,mancomb: include soc/gpio.h in baseboard/gpio.h
This include provides the GPIO_x definitions. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I12a0d95f79658f3852132876e92c389b715f3001 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52358 Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/guybrush/variants/baseboard/include/baseboard/gpio.h2
-rw-r--r--src/mainboard/google/mancomb/variants/baseboard/include/baseboard/gpio.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/gpio.h b/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/gpio.h
index 4c9fc61045..be0fb72ffd 100644
--- a/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/gpio.h
+++ b/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/gpio.h
@@ -3,6 +3,8 @@
#ifndef __BASEBOARD_GPIO_H__
#define __BASEBOARD_GPIO_H__
+#include <soc/gpio.h>
+
/* SPI Write protect */
#define CROS_WP_GPIO GPIO_67
diff --git a/src/mainboard/google/mancomb/variants/baseboard/include/baseboard/gpio.h b/src/mainboard/google/mancomb/variants/baseboard/include/baseboard/gpio.h
index 4c9fc61045..be0fb72ffd 100644
--- a/src/mainboard/google/mancomb/variants/baseboard/include/baseboard/gpio.h
+++ b/src/mainboard/google/mancomb/variants/baseboard/include/baseboard/gpio.h
@@ -3,6 +3,8 @@
#ifndef __BASEBOARD_GPIO_H__
#define __BASEBOARD_GPIO_H__
+#include <soc/gpio.h>
+
/* SPI Write protect */
#define CROS_WP_GPIO GPIO_67