[coreboot] Patch set updated for coreboot: b2b3215 some black magic for initializing the old version of the k8t800

Florian Zumbiehl gerrit at coreboot.org
Fri Nov 4 23:12:59 CET 2011

Florian Zumbiehl just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/388


commit b2b3215c6b5a37be1ed5b4501f7e2bd619ea0adb
Author: Florian Zumbiehl <florz at florz.de>
Date:   Tue Nov 1 20:19:38 2011 +0100

    some black magic for initializing the old version of the k8t800
    Change-Id: I1b5d23cee9f933aa090c9bd09890c7b335567e17
    Signed-off-by: Florian Zumbiehl <florz at florz.de>
 src/southbridge/via/k8t890/bridge.c |    9 +++++++++
 src/southbridge/via/k8t890/ctrl.c   |   11 +++++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/southbridge/via/k8t890/bridge.c b/src/southbridge/via/k8t890/bridge.c
index 1b21b32..ecfdc35 100644
--- a/src/southbridge/via/k8t890/bridge.c
+++ b/src/southbridge/via/k8t890/bridge.c
@@ -33,9 +33,14 @@ static void bridge_enable(struct device *dev)
 	writeback(dev, 0x40, 0x91);
 	writeback(dev, 0x41, 0x40);
 	writeback(dev, 0x43, 0x44);
+	writeback(dev, 0x42, 0x80);
+	writeback(dev, 0x44, 0x35);
 	writeback(dev, 0x44, 0x31); 	/* K8M890 should have 0x35 datasheet
 					 * says it is reserved
 	writeback(dev, 0x45, 0x3a);
 	writeback(dev, 0x46, 0x88);	/* PCI ID lo */
 	writeback(dev, 0x47, 0xb1);	/* PCI ID hi */
@@ -44,7 +49,11 @@ static void bridge_enable(struct device *dev)
 	 * (Forward VGA compatible memory and I/O cycles )
+	writeback(dev, 0x3e, 0x0a);
 	writeback(dev, 0x3e, 0x16);
 	/* disable I/O and memory decode, or it freezes PCI bus during BAR sizing */
diff --git a/src/southbridge/via/k8t890/ctrl.c b/src/southbridge/via/k8t890/ctrl.c
index d68e03e..4a6428d 100644
--- a/src/southbridge/via/k8t890/ctrl.c
+++ b/src/southbridge/via/k8t890/ctrl.c
@@ -37,12 +37,21 @@ void k8x8xx_vt8237r_cfg(struct device *dev, struct device *devsb)
 	pci_write_config8(dev, 0x70, 0xc2);
 	/* PCI Control */
 	pci_write_config8(dev, 0x72, 0xee);
 	pci_write_config8(dev, 0x73, 0x01);
+	pci_write_config8(dev, 0x74, 0x64);
+	pci_write_config8(dev, 0x75, 0x3f);
 	pci_write_config8(dev, 0x74, 0x24);
 	pci_write_config8(dev, 0x75, 0x0f);
 	pci_write_config8(dev, 0x76, 0x50);
 	pci_write_config8(dev, 0x77, 0x08);
 	pci_write_config8(dev, 0x78, 0x01);
 	/* APIC on HT */
 	pci_write_config8(dev, 0x7c, 0x7f);
@@ -137,7 +146,9 @@ static void ctrl_init(struct device *dev)
 	/* PCI CFG Address bits[27:24] are used as extended register address
 	   bit[11:8] */
 	pci_write_config8(dev, 0x47, 0x30);
 	/* VT8237R specific configuration  other SB are done in their own directories */

More information about the coreboot mailing list