diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2003-10-21 14:52:47 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2003-10-21 14:52:47 +0000 |
commit | fc76dcf0d00f9e1d28d128ffc43320d940f531a6 (patch) | |
tree | f922047309208809ad442b3578a9bfc38e757424 /src | |
parent | 4398d1e5a9e2d2d384bd917cf679d17d43cd6c57 (diff) | |
download | coreboot-fc76dcf0d00f9e1d28d128ffc43320d940f531a6.tar.xz |
Fixes for SONE
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1224 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/via/epia/Config.lb | 2 | ||||
-rw-r--r-- | src/mainboard/via/epia/auto.c | 2 | ||||
-rw-r--r-- | src/southbridge/via/vt8231/vt8231.c | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/src/mainboard/via/epia/Config.lb b/src/mainboard/via/epia/Config.lb index 6e38977bf7..ba2d0b28af 100644 --- a/src/mainboard/via/epia/Config.lb +++ b/src/mainboard/via/epia/Config.lb @@ -220,7 +220,7 @@ northbridge via/vt8601 "vt8601" # pci 0:11.6 # pci 0:12.0 register "enable_usb" = "0" - register "enable_native_ide" = "1" + register "enable_native_ide" = "0" register "enable_com_ports" = "1" register "enable_keyboard" = "0" register "enable_nvram" = "1" diff --git a/src/mainboard/via/epia/auto.c b/src/mainboard/via/epia/auto.c index d4a4d30ad3..c1a6b9b98c 100644 --- a/src/mainboard/via/epia/auto.c +++ b/src/mainboard/via/epia/auto.c @@ -11,6 +11,7 @@ #include "arch/i386/lib/console.c" #include "ram/ramtest.c" #include "northbridge/via/vt8601/raminit.h" +#include "cpu/p6/earlymtrr.c" /* */ void udelay(int usecs) @@ -135,4 +136,5 @@ static void main(void) ram_check(check_addrs[i].lo, check_addrs[i].hi); } #endif + early_mtrr_init(); } diff --git a/src/southbridge/via/vt8231/vt8231.c b/src/southbridge/via/vt8231/vt8231.c index ea1f488f3e..55e833d7b5 100644 --- a/src/southbridge/via/vt8231/vt8231.c +++ b/src/southbridge/via/vt8231/vt8231.c @@ -335,11 +335,11 @@ static void vt8231_init(struct southbridge_via_vt8231_config *conf) // // IDE setup // - if (conf->enable_native_ide) { + if (! conf->enable_native_ide) { // Run the IDE controller in 'compatiblity mode - i.e. don't use PCI // interrupts. Using PCI ints confuses linux for some reason. - printk_info("%s: enabling native IDE addresses\n", __FUNCTION__); + printk_info("%s: enabling compatibility IDE addresses\n", __FUNCTION__); enables = pci_read_config8(dev1, 0x42); printk_debug("enables in reg 0x42 0x%x\n", enables); enables &= ~0xc0; // compatability mode |