[coreboot-gerrit] Change in coreboot[master]: mainboard/google/reef: Use new gpio interface

Hannah Williams (Code Review) gerrit at coreboot.org
Sat Jun 10 07:36:33 CEST 2017


Hannah Williams has uploaded this change for review. ( https://review.coreboot.org/20145


Change subject: mainboard/google/reef: Use new gpio interface
......................................................................

mainboard/google/reef: Use new gpio interface

Eliminating the global struct gpi_status array and instead using
structure gpi_status inside struct pad_community

Change-Id: I10d263ebbc3c35d7bd8cfd5c33d3819245ccd124
Signed-off-by: Hannah Williams <hannah.williams at intel.com>
---
M src/mainboard/google/reef/smihandler.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/20145/1

diff --git a/src/mainboard/google/reef/smihandler.c b/src/mainboard/google/reef/smihandler.c
index fe4f8c4..865a80d 100644
--- a/src/mainboard/google/reef/smihandler.c
+++ b/src/mainboard/google/reef/smihandler.c
@@ -24,9 +24,9 @@
 #include <variant/ec.h>
 #include <variant/gpio.h>
 
-void mainboard_smi_gpi_handler(const struct gpi_status *sts)
+void mainboard_smi_gpi_handler(void)
 {
-	if (gpi_status_get(sts, EC_SMI_GPI))
+	if (gpi_status_get(EC_SMI_GPI))
 		chromeec_smi_process_events();
 }
 

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I10d263ebbc3c35d7bd8cfd5c33d3819245ccd124
Gerrit-Change-Number: 20145
Gerrit-PatchSet: 1
Gerrit-Owner: Hannah Williams <hannah.williams at intel.com>



More information about the coreboot-gerrit mailing list