aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/via
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-07 02:06:53 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-07 02:06:53 +0000
commitc2d29415c3b3c40149087fe6a379e60c030c9d58 (patch)
tree0c76c9e79ea859430a919b2effa9dcafdc8a1843 /src/southbridge/via
parentc51dc44bf2b76ac47b83ee76bee3357ce4b173de (diff)
switch some ROMCC boards back to ROMCC.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5364 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/via')
-rw-r--r--src/southbridge/via/vt8235/vt8235_early_serial.c3
-rw-r--r--src/southbridge/via/vt8235/vt8235_early_smbus.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/southbridge/via/vt8235/vt8235_early_serial.c b/src/southbridge/via/vt8235/vt8235_early_serial.c
index 3191057811..7823172485 100644
--- a/src/southbridge/via/vt8235/vt8235_early_serial.c
+++ b/src/southbridge/via/vt8235/vt8235_early_serial.c
@@ -38,9 +38,6 @@ static void vt8235_writesioword(uint16_t reg, uint16_t val)
static void enable_vt8235_serial(void)
{
- unsigned long x;
- uint8_t c;
- device_t dev;
// turn on pnp
vt8235_writepnpaddr(0x87);
vt8235_writepnpaddr(0x87);
diff --git a/src/southbridge/via/vt8235/vt8235_early_smbus.c b/src/southbridge/via/vt8235/vt8235_early_smbus.c
index 9442b6e4d0..db403eb5fb 100644
--- a/src/southbridge/via/vt8235/vt8235_early_smbus.c
+++ b/src/southbridge/via/vt8235/vt8235_early_smbus.c
@@ -85,7 +85,6 @@ static int smbus_wait_until_ready(void)
unsigned long loops;
loops = SMBUS_TIMEOUT;
do {
- unsigned char val;
smbus_delay();
c = inb(SMBUS_IO_BASE + SMBHSTSTAT);
while((c & 1) == 1) {
@@ -121,7 +120,6 @@ static int smbus_wait_until_done(void)
unsigned char byte;
loops = SMBUS_TIMEOUT;
do {
- unsigned char val;
smbus_delay();
byte = inb(SMBUS_IO_BASE + SMBHSTSTAT);