[coreboot-gerrit] Patch set updated for coreboot: 9de2da7 superio/nuvoton: Make sio lock/unlock public functions

Dave Frodin (dave.frodin@se-eng.com) gerrit at coreboot.org
Wed Jun 11 16:37:36 CEST 2014


Dave Frodin (dave.frodin at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5969

-gerrit

commit 9de2da768d5527e83875bfbd2b1dcb84dcfb7d11
Author: Dave Frodin <dave.frodin at se-eng.com>
Date:   Tue Jun 10 11:28:52 2014 -0600

    superio/nuvoton: Make sio lock/unlock public functions
    
    Change-Id: I6f2e95885fb05cf49762f5410b415af36c8f0055
    Signed-off-by: Dave Frodin <dave.frodin at se-eng.com>
---
 src/superio/nuvoton/common/early_serial.c | 4 ++--
 src/superio/nuvoton/common/nuvoton.h      | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/superio/nuvoton/common/early_serial.c b/src/superio/nuvoton/common/early_serial.c
index 1cbcee8..c20822e 100644
--- a/src/superio/nuvoton/common/early_serial.c
+++ b/src/superio/nuvoton/common/early_serial.c
@@ -49,7 +49,7 @@
 
 /* Enable configuration: pass entry key '0x87' into index port dev
  * two times. */
-static void pnp_enter_conf_state(device_t dev)
+void pnp_enter_conf_state(device_t dev)
 {
 	u16 port = dev >> 8;
 	outb(NUVOTON_ENTRY_KEY, port);
@@ -57,7 +57,7 @@ static void pnp_enter_conf_state(device_t dev)
 }
 
 /* Disable configuration: pass exit key '0xAA' into index port dev. */
-static void pnp_exit_conf_state(device_t dev)
+void pnp_exit_conf_state(device_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 e9e8d4b..0281f91 100644
--- a/src/superio/nuvoton/common/nuvoton.h
+++ b/src/superio/nuvoton/common/nuvoton.h
@@ -26,5 +26,7 @@
 #include <stdint.h>
 
 void nuvoton_enable_serial(device_t dev, u16 iobase);
+void pnp_enter_conf_state(device_t dev);
+void pnp_exit_conf_state(device_t dev);
 
 #endif /* SUPERIO_NUVOTON_COMMON_ROMSTAGE_H */



More information about the coreboot-gerrit mailing list