Felix Held submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Marshall Dawson: Looks good to me, approved Raul Rangel: Looks good to me, approved
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>
---
M src/mainboard/google/guybrush/variants/baseboard/include/baseboard/gpio.h
M src/mainboard/google/mancomb/variants/baseboard/include/baseboard/gpio.h
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 4c9fc61..be0fb72 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 4c9fc61..be0fb72 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


To view, visit change 52358. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I12a0d95f79658f3852132876e92c389b715f3001
Gerrit-Change-Number: 52358
Gerrit-PatchSet: 4
Gerrit-Owner: Felix Held <felix-coreboot@felixheld.de>
Gerrit-Reviewer: Felix Held <felix-coreboot@felixheld.de>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd@gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Mathew King <mathewk@chromium.org>
Gerrit-Reviewer: Raul Rangel <rrangel@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged