aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx800/vx800_early_serial.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-07-07 17:51:41 +0000
committerStefan Reinauer <stepan@openbios.org>2010-07-07 17:51:41 +0000
commit42da0e6da6edd2dfe7fd752719ec5d2c94d5e055 (patch)
tree8c9cdb9f74a41441317b7f65f5e13d02cf38f9f9 /src/northbridge/via/vx800/vx800_early_serial.c
parente32d3991d04e896bcb9fd8315bab68d54146e017 (diff)
fix some warnings.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5657 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/via/vx800/vx800_early_serial.c')
-rw-r--r--src/northbridge/via/vx800/vx800_early_serial.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/northbridge/via/vx800/vx800_early_serial.c b/src/northbridge/via/vx800/vx800_early_serial.c
index 8bac43ff12..f46341ff15 100644
--- a/src/northbridge/via/vx800/vx800_early_serial.c
+++ b/src/northbridge/via/vx800/vx800_early_serial.c
@@ -27,12 +27,6 @@
#define SIO_BASE 0x3f0
#define SIO_DATA SIO_BASE+1
-static void vx800_writesuper(uint8_t reg, uint8_t val)
-{
- outb(reg, SIO_BASE);
- outb(val, SIO_DATA);
-}
-
static void vx800_writepnpaddr(uint8_t val)
{
outb(val, 0x2e);
@@ -59,7 +53,7 @@ static void vx800_writesioword(uint16_t reg, uint16_t val)
mainboard
*/
-static void enable_vx800_serial(void)
+void enable_vx800_serial(void)
{
outb(6, 0x80);
outb(0x03, 0x22);