[coreboot-gerrit] Change in coreboot[master]: superio/nuvoton/common: Make SuperIO config functions extern...

Arthur Heymans (Code Review) gerrit at coreboot.org
Mon May 8 21:10:12 CEST 2017


Arthur Heymans has uploaded a new change for review. ( https://review.coreboot.org/19626 )

Change subject: superio/nuvoton/common: Make SuperIO config functions externally available
......................................................................

superio/nuvoton/common: Make SuperIO config functions externally available

Change-Id: I05f768c67542770e65279a562c05225b84edca40
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
M src/superio/nuvoton/common/early_serial.c
M src/superio/nuvoton/common/nuvoton.h
2 files changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/19626/1

diff --git a/src/superio/nuvoton/common/early_serial.c b/src/superio/nuvoton/common/early_serial.c
index d1958a0..e80bcf1 100644
--- a/src/superio/nuvoton/common/early_serial.c
+++ b/src/superio/nuvoton/common/early_serial.c
@@ -45,7 +45,7 @@
 
 /* Enable configuration: pass entry key '0x87' into index port dev
  * two times. */
-static void pnp_enter_conf_state(pnp_devfn_t dev)
+void pnp_enter_conf_state(pnp_devfn_t dev)
 {
 	u16 port = dev >> 8;
 	outb(NUVOTON_ENTRY_KEY, port);
@@ -53,7 +53,7 @@
 }
 
 /* Disable configuration: pass exit key '0xAA' into index port dev. */
-static void pnp_exit_conf_state(pnp_devfn_t dev)
+void pnp_exit_conf_state(pnp_devfn_t dev)
 {
 	u16 port = dev >> 8;
 	outb(NUVOTON_EXIT_KEY, port);
diff --git a/src/superio/nuvoton/common/nuvoton.h b/src/superio/nuvoton/common/nuvoton.h
index 22f1127..7407f73 100644
--- a/src/superio/nuvoton/common/nuvoton.h
+++ b/src/superio/nuvoton/common/nuvoton.h
@@ -21,6 +21,8 @@
 #include <arch/io.h>
 #include <stdint.h>
 
+void pnp_enter_conf_state(pnp_devfn_t dev);
+void pnp_exit_conf_state(pnp_devfn_t dev);
 void nuvoton_enable_serial(pnp_devfn_t dev, u16 iobase);
 
 #endif /* SUPERIO_NUVOTON_COMMON_ROMSTAGE_H */

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I05f768c67542770e65279a562c05225b84edca40
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>



More information about the coreboot-gerrit mailing list