[coreboot-gerrit] Change in coreboot[master]: superio/ite/it8716f: Update init_ec

Martin Roth (Code Review) gerrit at coreboot.org
Fri Jul 7 18:17:26 CEST 2017


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


Change subject: superio/ite/it8716f: Update init_ec
......................................................................

superio/ite/it8716f: Update init_ec

This is a follow-on to the superio IS_ENABLED() patch:
https://review.coreboot.org/#/c/20351/1

Change-Id: I7d070e3964609947959de60e2686dfe59fe77e1c
Signed-off-by: Martin Roth <martinroth at google.com>
---
M src/superio/ite/it8716f/it8716f.h
M src/superio/ite/it8716f/superio.c
2 files changed, 1 insertion(+), 3 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/20490/1

diff --git a/src/superio/ite/it8716f/it8716f.h b/src/superio/ite/it8716f/it8716f.h
index 3531a13..726c4cc 100644
--- a/src/superio/ite/it8716f/it8716f.h
+++ b/src/superio/ite/it8716f/it8716f.h
@@ -34,9 +34,7 @@
 #define IT8716F_GAME 0x09 /* GAME port */
 #define IT8716F_IR   0x0a /* Consumer IR */
 
-#if IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL)
 /* Provided by mainboard, called by IT8716F superio.c. */
 void init_ec(u16 base);
-#endif
 
 #endif /* SUPERIO_ITE_IT8716F_H */
diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c
index 2ec3875..b4cd5e6 100644
--- a/src/superio/ite/it8716f/superio.c
+++ b/src/superio/ite/it8716f/superio.c
@@ -29,7 +29,7 @@
 
 #if !IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL)
 
-static void init_ec(u16 base)
+void init_ec(u16 base)
 {
 	u8 value;
 

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7d070e3964609947959de60e2686dfe59fe77e1c
Gerrit-Change-Number: 20490
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/20170707/ebc17534/attachment.html>


More information about the coreboot-gerrit mailing list