[coreboot-gerrit] Change in coreboot[master]: soc/amd/stoneyridge: Use generic gpio prototypes

Marc Jones (Code Review) gerrit at coreboot.org
Wed Jul 12 19:12:53 CEST 2017


Marc Jones has uploaded this change for review. ( https://review.coreboot.org/20543


Change subject: soc/amd/stoneyridge: Use generic gpio prototypes
......................................................................

soc/amd/stoneyridge: Use generic gpio prototypes

Use the genric prototypes in src/include/gpio.h.
Also updates the Kahlee mainboard to match.

Change-Id: I2ea562b052401efff3101f736788ca77d21e6de6
Signed-off-by: Marc Jones <marcj303 at gmail.com>
---
M src/mainboard/google/kahlee/boardid.c
M src/mainboard/google/kahlee/chromeos.c
M src/soc/amd/stoneyridge/gpio.c
3 files changed, 3 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/20543/1

diff --git a/src/mainboard/google/kahlee/boardid.c b/src/mainboard/google/kahlee/boardid.c
index 00c092c..2c4fabb 100644
--- a/src/mainboard/google/kahlee/boardid.c
+++ b/src/mainboard/google/kahlee/boardid.c
@@ -15,7 +15,7 @@
 
 #include <boardid.h>
 #include <console/console.h>
-#include <soc/gpio.h>
+#include <gpio.h>
 
 uint8_t board_id(void)
 {
diff --git a/src/mainboard/google/kahlee/chromeos.c b/src/mainboard/google/kahlee/chromeos.c
index 4112db5..156614b 100644
--- a/src/mainboard/google/kahlee/chromeos.c
+++ b/src/mainboard/google/kahlee/chromeos.c
@@ -18,7 +18,7 @@
 #include <vendorcode/google/chromeos/chromeos.h>
 #include <boot/coreboot_tables.h>
 #include <console/console.h>
-#include <soc/gpio.h>
+#include <gpio.h>
 
 /* SPI Write protect */
 #define CROS_WP_GPIO	GPIO_122
diff --git a/src/soc/amd/stoneyridge/gpio.c b/src/soc/amd/stoneyridge/gpio.c
index d49637a..c853c91 100644
--- a/src/soc/amd/stoneyridge/gpio.c
+++ b/src/soc/amd/stoneyridge/gpio.c
@@ -16,6 +16,7 @@
  */
 
 #include <arch/io.h>
+#include <gpio.h>
 #include <soc/gpio.h>
 
 int gpio_get(gpio_t gpio_num)

-- 
To view, visit https://review.coreboot.org/20543
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ea562b052401efff3101f736788ca77d21e6de6
Gerrit-Change-Number: 20543
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc at marcjonesconsulting.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170712/d910344b/attachment.html>


More information about the coreboot-gerrit mailing list