From 01f887d9f8546be08b51a2752af0473ab51e4214 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 25 Mar 2004 09:31:10 +0000 Subject: Merging patches from Yinghai Lu (fb2_s4882_changes.diff.bz2): - new motherboard: Tyan s4882 - minor changes to 2880, s2881, s2885, s4880 git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1474 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/tyan/s4880/Config.lb | 4 ++-- src/mainboard/tyan/s4880/auto.c | 9 +++------ 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'src/mainboard/tyan/s4880') diff --git a/src/mainboard/tyan/s4880/Config.lb b/src/mainboard/tyan/s4880/Config.lb index 69e647984f..4f85e44252 100644 --- a/src/mainboard/tyan/s4880/Config.lb +++ b/src/mainboard/tyan/s4880/Config.lb @@ -33,9 +33,9 @@ default LB_CKS_RANGE_END=122 default LB_CKS_LOC=123 driver mainboard.o -#driver lsi_scsi.o +driver lsi_scsi.o #driver adaptec_scsi.o -#driver si_sata.o +driver si_sata.o #driver intel_nic.o #object reset.o if HAVE_MP_TABLE object mptable.o end diff --git a/src/mainboard/tyan/s4880/auto.c b/src/mainboard/tyan/s4880/auto.c index 031020323a..8f291f0964 100644 --- a/src/mainboard/tyan/s4880/auto.c +++ b/src/mainboard/tyan/s4880/auto.c @@ -28,7 +28,7 @@ static void hard_reset(void) set_bios_reset(); /* enable cf9 */ - pci_write_config8(PCI_DEV(0, 0x04, 3), 0x41, 0xf1); + pci_write_config8(PCI_DEV(1, 0x04, 3), 0x41, 0xf1); /* reset */ outb(0x0e, 0x0cf9); } @@ -36,7 +36,7 @@ static void hard_reset(void) static void soft_reset(void) { set_bios_reset(); - pci_write_config8(PCI_DEV(0, 0x04, 0), 0x47, 1); + pci_write_config8(PCI_DEV(1, 0x04, 0), 0x47, 1); } @@ -121,11 +121,8 @@ static inline int spd_read_byte(unsigned device, unsigned address) return smbus_read_byte(device, address); } -/* include mainboard specific ht code */ -#include "hypertransport.c" - - #include "northbridge/amd/amdk8/raminit.c" + #include "northbridge/amd/amdk8/coherent_ht.c" #include "sdram/generic_sdram.c" -- cgit v1.2.3