diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-07 03:40:37 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-07 03:40:37 +0000 |
commit | 8a9268451423da1648a4454aaf3b76c2989ee3b4 (patch) | |
tree | d3e232cbf4bc4a27cd80749e5ef1fc21e8a7dd16 /src/southbridge | |
parent | 3dfd03f8878679902927748e305643b6000d0e5b (diff) | |
download | coreboot-8a9268451423da1648a4454aaf3b76c2989ee3b4.tar.xz |
clean up age old via epia target.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5368 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/via/vt8231/vt8231.c | 5 | ||||
-rw-r--r-- | src/southbridge/via/vt8231/vt8231_early_serial.c | 1 | ||||
-rw-r--r-- | src/southbridge/via/vt8231/vt8231_early_smbus.c | 5 | ||||
-rw-r--r-- | src/southbridge/via/vt8231/vt8231_lpc.c | 4 |
4 files changed, 5 insertions, 10 deletions
diff --git a/src/southbridge/via/vt8231/vt8231.c b/src/southbridge/via/vt8231/vt8231.c index f943524665..43238ec050 100644 --- a/src/southbridge/via/vt8231/vt8231.c +++ b/src/southbridge/via/vt8231/vt8231.c @@ -12,11 +12,6 @@ /* Base 8231 controller */ static device_t lpc_dev; -void hard_reset(void) -{ - printk(BIOS_ERR, "NO HARD RESET ON VT8231! FIX ME!\n"); -} - static void keyboard_on(void) { unsigned char regval; diff --git a/src/southbridge/via/vt8231/vt8231_early_serial.c b/src/southbridge/via/vt8231/vt8231_early_serial.c index 1083eb67e6..5b38b8e521 100644 --- a/src/southbridge/via/vt8231/vt8231_early_serial.c +++ b/src/southbridge/via/vt8231/vt8231_early_serial.c @@ -31,7 +31,6 @@ static void vt8231_writesioword(uint16_t reg, uint16_t val) static void enable_vt8231_serial(void) { - unsigned long x; uint8_t c; device_t dev; outb(6, 0x80); diff --git a/src/southbridge/via/vt8231/vt8231_early_smbus.c b/src/southbridge/via/vt8231/vt8231_early_smbus.c index 34a1a5c5d8..40ef656c00 100644 --- a/src/southbridge/via/vt8231/vt8231_early_smbus.c +++ b/src/southbridge/via/vt8231/vt8231_early_smbus.c @@ -107,6 +107,7 @@ static int smbus_wait_until_done(void) return loops ? 0 : -3; } +#if 0 void smbus_reset(void) { outb(HOST_RESET, SMBUS_IO_BASE + SMBHSTSTAT); @@ -119,7 +120,9 @@ void smbus_reset(void) print_debug_hex8(inb(SMBUS_IO_BASE + SMBHSTSTAT)); print_debug("\n"); } +#endif +#if CONFIG_DEBUG_SMBUS static void smbus_print_error(unsigned char host_status_register) { @@ -142,6 +145,7 @@ static void smbus_print_error(unsigned char host_status_register) print_err("Host Busy\n"); } } +#endif /* * Copied from intel/i82801dbm early smbus code - suggested by rgm. @@ -150,7 +154,6 @@ static void smbus_print_error(unsigned char host_status_register) */ static int smbus_read_byte(unsigned device, unsigned address) { - unsigned char global_control_register; unsigned char global_status_register; unsigned char byte; diff --git a/src/southbridge/via/vt8231/vt8231_lpc.c b/src/southbridge/via/vt8231/vt8231_lpc.c index 9799195d87..6c517ff492 100644 --- a/src/southbridge/via/vt8231/vt8231_lpc.c +++ b/src/southbridge/via/vt8231/vt8231_lpc.c @@ -10,7 +10,6 @@ /* PIRQ init */ -void pci_assign_irqs(unsigned bus, unsigned slot, const unsigned char pIntAtoD[4]); static const unsigned char southbridgeIrqs[4] = { 11, 5, 10, 12 }; static const unsigned char enetIrqs[4] = { 11, 5, 10, 12 }; static const unsigned char slotIrqs[4] = { 5, 10, 12, 11 }; @@ -55,7 +54,6 @@ static void pci_routing_fixup(struct device *dev) static void vt8231_init(struct device *dev) { unsigned char enables; - struct southbridge_via_vt8231_config *conf = dev->chip_info; printk(BIOS_DEBUG, "vt8231 init\n"); @@ -130,7 +128,7 @@ static void vt8231_init(struct device *dev) rtc_init(0); } -void vt8231_read_resources(device_t dev) +static void vt8231_read_resources(device_t dev) { struct resource *res; |