diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2004-10-06 17:33:54 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2004-10-06 17:33:54 +0000 |
commit | 02fa3b2743b3f37381b6af4ee4362422b9011c8b (patch) | |
tree | c3bcc53e5ee909406558c116ac331bf05c5b561f /src/mainboard/via/epia-m/auto.c | |
parent | 4fa89208a16e1e2052fff315c76f8f3f07459571 (diff) |
epia-m support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1655 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via/epia-m/auto.c')
-rw-r--r-- | src/mainboard/via/epia-m/auto.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mainboard/via/epia-m/auto.c b/src/mainboard/via/epia-m/auto.c index 88523ed9e9..6fbc8306a4 100644 --- a/src/mainboard/via/epia-m/auto.c +++ b/src/mainboard/via/epia-m/auto.c @@ -49,7 +49,7 @@ static inline int spd_read_byte(unsigned device, unsigned address) -#include "northbridge/via/vt8601/raminit.c" +#include "northbridge/via/vt8623/raminit.c" /* #include "sdram/generic_sdram.c" */ @@ -64,8 +64,9 @@ static void enable_mainboard_devices(void) if (dev == PCI_DEV_INVALID) { die("Southbridge not found!!!\n"); } - pci_write_config8(dev, 0x50, 7); - pci_write_config8(dev, 0x51, 0xff); + pci_write_config8(dev, 0x50, 0); + pci_write_config8(dev, 0x51, 0xfd); + pci_write_config8(dev, 0x94, 0xb2); #if 0 // This early setup switches IDE into compatibility mode before PCI gets // // a chance to assign I/Os @@ -97,9 +98,15 @@ static void enable_shadow_ram(void) static void main(void) { unsigned long x; + device_t dev; /* init_timer();*/ outb(5, 0x80); + + pci_write_config8( 0xd*8,0x15,0x1c); + pci_write_config8( 0 , 0xe1, 0xdd); + + outb(5, 0x80); enable_smbus(); enable_vt8235_serial(); |