[coreboot-gerrit] Change in coreboot[master]: mainboard/google/kahlee: Add EC_IN_RW flag

Martin Roth (Code Review) gerrit at coreboot.org
Tue Oct 10 18:46:35 CEST 2017


Martin Roth has uploaded this change for review. ( https://review.coreboot.org/21936


Change subject: mainboard/google/kahlee: Add EC_IN_RW flag
......................................................................

mainboard/google/kahlee: Add EC_IN_RW flag

Depthcharge was complaining that this flag wasn't set.

BUG=b:67614692
TEST=Depthcharge no longer complains that there is no GPIO set for flag5.

Change-Id: Ib854e97b0a3aa42a95ceb8a42a9776f0345ff8b1
Signed-off-by: Martin Roth <martinroth at google.com>
---
M src/mainboard/google/kahlee/chromeos.c
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/21936/1

diff --git a/src/mainboard/google/kahlee/chromeos.c b/src/mainboard/google/kahlee/chromeos.c
index 4c152ba..5513074 100644
--- a/src/mainboard/google/kahlee/chromeos.c
+++ b/src/mainboard/google/kahlee/chromeos.c
@@ -22,6 +22,7 @@
 
 /* SPI Write protect */
 #define CROS_WP_GPIO		GPIO_142
+#define GPIO_EC_IN_RW		GPIO_15
 
 void fill_lb_gpios(struct lb_gpios *gpios)
 {
@@ -30,6 +31,9 @@
 		{-1, ACTIVE_HIGH, get_recovery_mode_switch(), "recovery"},
 		{-1, ACTIVE_HIGH, get_lid_switch(), "lid"},
 		{-1, ACTIVE_HIGH, 0, "power"},
+		{GPIO_EC_IN_RW, ACTIVE_HIGH, gpio_get(GPIO_EC_IN_RW),
+		 "EC in RW"},
+
 	};
 	lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios));
 }

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib854e97b0a3aa42a95ceb8a42a9776f0345ff8b1
Gerrit-Change-Number: 21936
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171010/94b95c91/attachment-0001.html>


More information about the coreboot-gerrit mailing list