aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/via/k8t890/bridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/via/k8t890/bridge.c')
-rw-r--r--src/southbridge/via/k8t890/bridge.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/southbridge/via/k8t890/bridge.c b/src/southbridge/via/k8t890/bridge.c
index 1b21b32166..ecfdc3567a 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);
+#if CONFIG_SOUTHBRIDGE_VIA_K8T800_OLD
+ writeback(dev, 0x42, 0x80);
+ writeback(dev, 0x44, 0x35);
+#else
writeback(dev, 0x44, 0x31); /* K8M890 should have 0x35 datasheet
* says it is reserved
*/
+#endif
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 )
*/
+#if CONFIG_SOUTHBRIDGE_VIA_K8T800_OLD
+ writeback(dev, 0x3e, 0x0a);
+#else
writeback(dev, 0x3e, 0x16);
+#endif
dump_south(dev);
/* disable I/O and memory decode, or it freezes PCI bus during BAR sizing */