aboutsummaryrefslogtreecommitdiff
path: root/src/superio/nuvoton/nct5104d/nct5104d.h
diff options
context:
space:
mode:
authorDave Frodin <dave.frodin@se-eng.com>2014-06-09 12:33:24 -0600
committerDave Frodin <dave.frodin@se-eng.com>2014-06-20 23:28:59 +0200
commitda2daef4b43ac85657429fe9b3f4a6d18179d48d (patch)
tree3f120907d62d0784bb4923a19c4e96ae50de4b96 /src/superio/nuvoton/nct5104d/nct5104d.h
parent7bf4f484c08e7256175e0db3024d3b76ba58613f (diff)
superio/nuvoton: Adds a function to route pins 41-48 to UARTD
Pins 41-48 default to being GPIs. This switches the internal mux to connect them to UARTD. Change-Id: I61393b8c35cbc664f6520f60eed09ba4bbede0dc Signed-off-by: Dave Frodin <dave.frodin@se-eng.com> Reviewed-on: http://review.coreboot.org/5963 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/superio/nuvoton/nct5104d/nct5104d.h')
-rw-r--r--src/superio/nuvoton/nct5104d/nct5104d.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/superio/nuvoton/nct5104d/nct5104d.h b/src/superio/nuvoton/nct5104d/nct5104d.h
index b72dda06b3..74df793b6f 100644
--- a/src/superio/nuvoton/nct5104d/nct5104d.h
+++ b/src/superio/nuvoton/nct5104d/nct5104d.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SUPERIO_NUVOTON_NCT5104D_NCT5104D_H
-#define SUPERIO_NUVOTON_NCT5104D_NCT5104D_H
+#ifndef SUPERIO_NUVOTON_NCT5104D_H
+#define SUPERIO_NUVOTON_NCT5104D_H
/* Logical Device Numbers (LDN). */
#define NCT5104D_FDC 0x00 /* FDC - not pinned out */
@@ -42,4 +42,6 @@
#define NCT5104D_GPIO1 ((1 << 8) | NCT5104D_GPIO_V)
#define NCT5104D_GPIO6 ((6 << 8) | NCT5104D_GPIO_V)
-#endif /* SUPERIO_NUVOTON_NCT5104D_NCT5104D_H */
+void nct5104d_enable_uartd(device_t dev);
+
+#endif /* SUPERIO_NUVOTON_NCT5104D_H */