summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2006-01-18 17:12:44 +0000
committerRonald G. Minnich <rminnich@gmail.com>2006-01-18 17:12:44 +0000
commit264e84adb835ce9bb7eb5d703417ef2a41c0231d (patch)
treefa1f980440d9beef73f81381a76e4e40c827cb16
parente800b91f38390987756de181f595c5b5492e00b7 (diff)
downloadcoreboot-264e84adb835ce9bb7eb5d703417ef2a41c0231d.tar.xz
fix stupid bug with unitialized conf variable
disable agp slot in config.lb fix error in setting up com1 == should be TTYS0_BAUD note that the uart8250 struct is a bad design, but so is the uart8250 code. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2161 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/mainboard/via/epia/Config.lb6
-rw-r--r--src/southbridge/via/vt8231/vt8231_ide.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/via/epia/Config.lb b/src/mainboard/via/epia/Config.lb
index 96c543a1ec..e6bc9957b3 100644
--- a/src/mainboard/via/epia/Config.lb
+++ b/src/mainboard/via/epia/Config.lb
@@ -127,12 +127,12 @@ config chip.h
chip northbridge/via/vt8601
device pci_domain 0 on
device pci 0.0 on end # Northbridge
- device pci 0.1 on # AGP bridge
+# device pci 0.1 on # AGP bridge
# chip drivers/pci/onboard # Integrated VGA
# device pci 0.0 on end
# register "rom_adress" = "0xfff80000"
# end
- end
+# end
chip southbridge/via/vt8231
register "enable_native_ide" = "0"
register "enable_com_ports" = "1"
@@ -162,7 +162,7 @@ chip northbridge/via/vt8601
irq 0x70 = 1
irq 0x72 = 12
end
- register "com1" = "{1}"
+ register "com1" = "{TTYS0_BAUD}"
end
device pnp 2e.6 off end # CIR
device pnp 2e.7 off end # GAME_MIDI_GIPO1
diff --git a/src/southbridge/via/vt8231/vt8231_ide.c b/src/southbridge/via/vt8231/vt8231_ide.c
index 70f256990c..9f06176cc5 100644
--- a/src/southbridge/via/vt8231/vt8231_ide.c
+++ b/src/southbridge/via/vt8231/vt8231_ide.c
@@ -8,7 +8,7 @@
static void ide_init(struct device *dev)
{
- struct southbridge_via_vt8231_config *conf;
+ struct southbridge_via_vt8231_config *conf = (struct southbridge_via_vt8231_config *)dev->chip_info;
unsigned char enables;
if (!conf->enable_native_ide) {