Re: [coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-03-02 Thread Peter Stuge
Alex G. wrote:
> > Sure. Patches welcome.
> 
> Actually, if I messed it up, I find it fair that I fix it.

Not only is it the only fair way, it's also the simplest way. I'm
sorry people were so trigger happy with this.


> Sorry I couldn't get to it earlier.

No problem.


> Fixes licensing of src/src/southbridge/via/k8t890/k8x8xx.h to GPLv2+ from 
> GPLv3.
> 
> Signed-off-by: Alexandru Gagniuc 

Acked-by: Peter Stuge 

r6426

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-03-02 Thread Alex G.
On 03/02/2011 02:08 AM, Stefan Reinauer wrote:
> * Carl-Daniel Hailfinger  [110302 01:05]:
>> Auf 02.03.2011 00:40, Joseph Smith schrieb:
>>> On 03/01/2011 04:14 PM, Stefan Reinauer wrote:
 * Peter Stuge  [110216 14:43]:
> Alex G. wrote:
>> Extended K8T890 driver to include the K8T800 and K8M800 northbridges.
>> The K8T800 is almost identical to the K8T800Pro, also added to this
>> patch. The K8T800_OLD is also defined, which is an older  version of
>> the K8T800, but which has no driver and early HT code yet.
>> Also extended the K8M890 VGA driver to work for the K8M800 (not
>> tested).
>> According to the datasheet, the K8T890 and K8T800 are similar enough
>> to be able to use the same initialization code. At least for the
>> K8T800, this is sufficient to have a working HT link with the CPU, and
>> to initialise the V-Link to the southbridge.
>>
>> Signed-off-by Alexandru Gagniuc
>
> Acked-by: Peter Stuge
>
> r6367

 Sorry, we have to back this out again since the license of some of the
 files are not compatible with the coreboot license.
 Unfortunately at this point we can not allow GPLv3 code in the
 repository, as the resulting image will be GPLv2.

 Can you please back this out, Peter? (Or Alexandru, send a license
 update if licensing your files under GPLv2 is ok for you)

>>> Wow! That is a big no, no.
>>
>> Only src/southbridge/via/k8t890/k8x8xx.h is affected. Since it is
>> essentially just a wrapper of another header file, can we just kill the
>> indirection and the problem is solved?
> 
> Sure. Patches welcome.
> 
Actually, if I messed it up, I find it fair that I fix it. Sorry I
couldn't get to it earlier.

Alex
Fixes licensing of src/src/southbridge/via/k8t890/k8x8xx.h to GPLv2+ from GPLv3.

Signed-off-by: Alexandru Gagniuc 

Index: src/southbridge/via/k8t890/k8x8xx.h
===
--- src/southbridge/via/k8t890/k8x8xx.h	(revision 6369)
+++ src/southbridge/via/k8t890/k8x8xx.h	(working copy)
@@ -5,7 +5,7 @@
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
+ * the Free Software Foundation, either version 2 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -14,7 +14,8 @@
  * GNU General Public License for more details.
  * 
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see .
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #ifndef SOUTHBRIDGE_VIA_K8T890_K8X8XX_H
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-03-02 Thread Alex G.
On 03/01/2011 11:14 PM, Stefan Reinauer wrote:
> * Peter Stuge  [110216 14:43]:
>> Alex G. wrote:
>>> Extended K8T890 driver to include the K8T800 and K8M800 northbridges.
>>> The K8T800 is almost identical to the K8T800Pro, also added to this
>>> patch. The K8T800_OLD is also defined, which is an older  version of 
>>> the K8T800, but which has no driver and early HT code yet.
>>> Also extended the K8M890 VGA driver to work for the K8M800 (not tested).
>>> According to the datasheet, the K8T890 and K8T800 are similar enough
>>> to be able to use the same initialization code. At least for the
>>> K8T800, this is sufficient to have a working HT link with the CPU, and
>>> to initialise the V-Link to the southbridge.
>>>
>>> Signed-off-by Alexandru Gagniuc 
>>
>> Acked-by: Peter Stuge 
>>
>> r6367
>  
> Sorry, we have to back this out again since the license of some of the
> files are not compatible with the coreboot license. 
> Unfortunately at this point we can not allow GPLv3 code in the
> repository, as the resulting image will be GPLv2.
> 
> Can you please back this out, Peter? (Or Alexandru, send a license
> update if licensing your files under GPLv2 is ok for you)
> 
You may change the license to GPLv2+.

Signed-off-by: Alexandru Gagniuc 

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-03-01 Thread Stefan Reinauer

On 3/1/11 11:05 PM, Carl-Daniel Hailfinger wrote:

Auf 02.03.2011 01:08, Stefan Reinauer schrieb:

* Carl-Daniel Hailfinger  [110302 01:05]:


Auf 02.03.2011 00:40, Joseph Smith schrieb:


On 03/01/2011 04:14 PM, Stefan Reinauer wrote:


* Peter Stuge   [110216 14:43]:


Alex G. wrote:


Extended K8T890 driver to include the K8T800 and K8M800 northbridges.
The K8T800 is almost identical to the K8T800Pro, also added to this
patch. The K8T800_OLD is also defined, which is an older  version of
the K8T800, but which has no driver and early HT code yet.
Also extended the K8M890 VGA driver to work for the K8M800 (not
tested).
According to the datasheet, the K8T890 and K8T800 are similar enough
to be able to use the same initialization code. At least for the
K8T800, this is sufficient to have a working HT link with the CPU, and
to initialise the V-Link to the southbridge.

Signed-off-by Alexandru Gagniuc


Acked-by: Peter Stuge

r6367


Sorry, we have to back this out again since the license of some of the
files are not compatible with the coreboot license.
Unfortunately at this point we can not allow GPLv3 code in the
repository, as the resulting image will be GPLv2.

Can you please back this out, Peter? (Or Alexandru, send a license
update if licensing your files under GPLv2 is ok for you)



Wow! That is a big no, no.


Only src/southbridge/via/k8t890/k8x8xx.h is affected. Since it is
essentially just a wrapper of another header file, can we just kill the
indirection and the problem is solved?


Sure. Patches welcome.


Remove a pure wrapper header file which had a different license by accident.

Untested, please use "patch -p0 -R" to apply.

Signed-off-by: Carl-Daniel Hailfinger


Acked-by: Stefan Reinauer



--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-03-01 Thread Carl-Daniel Hailfinger
Auf 02.03.2011 01:08, Stefan Reinauer schrieb:
> * Carl-Daniel Hailfinger  [110302 01:05]:
>   
>> Auf 02.03.2011 00:40, Joseph Smith schrieb:
>> 
>>> On 03/01/2011 04:14 PM, Stefan Reinauer wrote:
>>>   
 * Peter Stuge  [110216 14:43]:
 
> Alex G. wrote:
>   
>> Extended K8T890 driver to include the K8T800 and K8M800 northbridges.
>> The K8T800 is almost identical to the K8T800Pro, also added to this
>> patch. The K8T800_OLD is also defined, which is an older  version of
>> the K8T800, but which has no driver and early HT code yet.
>> Also extended the K8M890 VGA driver to work for the K8M800 (not
>> tested).
>> According to the datasheet, the K8T890 and K8T800 are similar enough
>> to be able to use the same initialization code. At least for the
>> K8T800, this is sufficient to have a working HT link with the CPU, and
>> to initialise the V-Link to the southbridge.
>>
>> Signed-off-by Alexandru Gagniuc
>> 
> Acked-by: Peter Stuge
>
> r6367
>   
 Sorry, we have to back this out again since the license of some of the
 files are not compatible with the coreboot license.
 Unfortunately at this point we can not allow GPLv3 code in the
 repository, as the resulting image will be GPLv2.

 Can you please back this out, Peter? (Or Alexandru, send a license
 update if licensing your files under GPLv2 is ok for you)

 
>>> Wow! That is a big no, no.
>>>   
>> Only src/southbridge/via/k8t890/k8x8xx.h is affected. Since it is
>> essentially just a wrapper of another header file, can we just kill the
>> indirection and the problem is solved?
>> 
> Sure. Patches welcome.
>   

Remove a pure wrapper header file which had a different license by accident.

Untested, please use "patch -p0 -R" to apply.

Signed-off-by: Carl-Daniel Hailfinger 


-- 
http://www.hailfinger.org/

--- src/southbridge/via/k8t890/early_car.c  (revision 6342)
+++ src/southbridge/via/k8t890/early_car.c  (working copy)
@@ -25,7 +25,7 @@
 #include 
 #include 
 #include 
-#include "k8t890.h"
+#include "k8x8xx.h"
 
 /* The 256 bytes of NVRAM for S3 storage, 256B aligned */
 #define K8T890_NVRAM_IO_BASE   0xf00
--- src/southbridge/via/k8t890/host_ctrl.c  (revision 6342)
+++ src/southbridge/via/k8t890/host_ctrl.c  (working copy)
@@ -24,7 +24,7 @@
 #include 
 #include 
 #include 
-#include "k8t890.h"
+#include "k8x8xx.h"
 
 /* this may be later merged */
 
--- src/southbridge/via/k8t890/ctrl.c   (revision 6342)
+++ src/southbridge/via/k8t890/ctrl.c   (working copy)
@@ -22,7 +22,7 @@
 #include 
 #include 
 #include 
-#include "k8t890.h"
+#include "k8x8xx.h"
 
 /* We support here K8M890/K8T890 and VT8237R PCI1/Vlink which setup is not in 
separate
  * PCI device 0:11.7, but it is mapped to PCI 0:0.7 (0x70-0x7c for PCI1)
--- src/southbridge/via/k8t890/chrome.c (revision 6342)
+++ src/southbridge/via/k8t890/chrome.c (working copy)
@@ -23,7 +23,7 @@
 #include 
 #include 
 #include  /* for memset */
-#include "k8t890.h"
+#include "k8x8xx.h"
 
 #if CONFIG_VGA
 #include 
--- src/southbridge/via/k8t890/host.c   (revision 6342)
+++ src/southbridge/via/k8t890/host.c   (working copy)
@@ -22,7 +22,7 @@
 #include 
 #include 
 #include 
-#include "k8t890.h"
+#include "k8x8xx.h"
 
 static void host_enable(struct device *dev)
 {
--- src/southbridge/via/k8t890/dram.c   (revision 6342)
+++ src/southbridge/via/k8t890/dram.c   (working copy)
@@ -25,7 +25,7 @@
 #include 
 #include 
 #include 
-#include "k8t890.h"
+#include "k8x8xx.h"
 
 static void dram_enable(struct device *dev)
 {
--- src/southbridge/via/k8t890/error.c  (revision 6342)
+++ src/southbridge/via/k8t890/error.c  (working copy)
@@ -21,7 +21,7 @@
 #include 
 #include 
 #include 
-#include "k8t890.h"
+#include "k8x8xx.h"
 
 static void error_enable(struct device *dev)
 {
--- src/southbridge/via/k8t890/bridge.c (revision 6342)
+++ src/southbridge/via/k8t890/bridge.c (working copy)
@@ -21,7 +21,7 @@
 #include 
 #include 
 #include 
-#include "k8t890.h"
+#include "k8x8xx.h"
 
 static void bridge_enable(struct device *dev)
 {
--- src/southbridge/via/k8t890/k8x8xx.h (revision 0)
+++ src/southbridge/via/k8t890/k8x8xx.h (revision 0)
@@ -0,0 +1,25 @@
+/*
+ * This file is part of the coreboot project.
+ * 
+ * Copyright (C) 2011  Alexandru Gagniuc 
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * al

Re: [coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-03-01 Thread Stefan Reinauer
* Carl-Daniel Hailfinger  [110302 01:05]:
> Auf 02.03.2011 00:40, Joseph Smith schrieb:
> > On 03/01/2011 04:14 PM, Stefan Reinauer wrote:
> >> * Peter Stuge  [110216 14:43]:
> >>> Alex G. wrote:
>  Extended K8T890 driver to include the K8T800 and K8M800 northbridges.
>  The K8T800 is almost identical to the K8T800Pro, also added to this
>  patch. The K8T800_OLD is also defined, which is an older  version of
>  the K8T800, but which has no driver and early HT code yet.
>  Also extended the K8M890 VGA driver to work for the K8M800 (not
>  tested).
>  According to the datasheet, the K8T890 and K8T800 are similar enough
>  to be able to use the same initialization code. At least for the
>  K8T800, this is sufficient to have a working HT link with the CPU, and
>  to initialise the V-Link to the southbridge.
> 
>  Signed-off-by Alexandru Gagniuc
> >>>
> >>> Acked-by: Peter Stuge
> >>>
> >>> r6367
> >>
> >> Sorry, we have to back this out again since the license of some of the
> >> files are not compatible with the coreboot license.
> >> Unfortunately at this point we can not allow GPLv3 code in the
> >> repository, as the resulting image will be GPLv2.
> >>
> >> Can you please back this out, Peter? (Or Alexandru, send a license
> >> update if licensing your files under GPLv2 is ok for you)
> >>
> > Wow! That is a big no, no.
> 
> Only src/southbridge/via/k8t890/k8x8xx.h is affected. Since it is
> essentially just a wrapper of another header file, can we just kill the
> indirection and the problem is solved?

Sure. Patches welcome.


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-03-01 Thread Carl-Daniel Hailfinger
Auf 02.03.2011 00:40, Joseph Smith schrieb:
> On 03/01/2011 04:14 PM, Stefan Reinauer wrote:
>> * Peter Stuge  [110216 14:43]:
>>> Alex G. wrote:
 Extended K8T890 driver to include the K8T800 and K8M800 northbridges.
 The K8T800 is almost identical to the K8T800Pro, also added to this
 patch. The K8T800_OLD is also defined, which is an older  version of
 the K8T800, but which has no driver and early HT code yet.
 Also extended the K8M890 VGA driver to work for the K8M800 (not
 tested).
 According to the datasheet, the K8T890 and K8T800 are similar enough
 to be able to use the same initialization code. At least for the
 K8T800, this is sufficient to have a working HT link with the CPU, and
 to initialise the V-Link to the southbridge.

 Signed-off-by Alexandru Gagniuc
>>>
>>> Acked-by: Peter Stuge
>>>
>>> r6367
>>
>> Sorry, we have to back this out again since the license of some of the
>> files are not compatible with the coreboot license.
>> Unfortunately at this point we can not allow GPLv3 code in the
>> repository, as the resulting image will be GPLv2.
>>
>> Can you please back this out, Peter? (Or Alexandru, send a license
>> update if licensing your files under GPLv2 is ok for you)
>>
> Wow! That is a big no, no.

Only src/southbridge/via/k8t890/k8x8xx.h is affected. Since it is
essentially just a wrapper of another header file, can we just kill the
indirection and the problem is solved?

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-03-01 Thread Joseph Smith

On 03/01/2011 04:14 PM, Stefan Reinauer wrote:

* Peter Stuge  [110216 14:43]:

Alex G. wrote:

Extended K8T890 driver to include the K8T800 and K8M800 northbridges.
The K8T800 is almost identical to the K8T800Pro, also added to this
patch. The K8T800_OLD is also defined, which is an older  version of
the K8T800, but which has no driver and early HT code yet.
Also extended the K8M890 VGA driver to work for the K8M800 (not tested).
According to the datasheet, the K8T890 and K8T800 are similar enough
to be able to use the same initialization code. At least for the
K8T800, this is sufficient to have a working HT link with the CPU, and
to initialise the V-Link to the southbridge.

Signed-off-by Alexandru Gagniuc


Acked-by: Peter Stuge

r6367


Sorry, we have to back this out again since the license of some of the
files are not compatible with the coreboot license.
Unfortunately at this point we can not allow GPLv3 code in the
repository, as the resulting image will be GPLv2.

Can you please back this out, Peter? (Or Alexandru, send a license
update if licensing your files under GPLv2 is ok for you)

Stefan



Wow! That is a big no, no.

--
Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org

--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-03-01 Thread Stefan Reinauer
* Peter Stuge  [110216 14:43]:
> Alex G. wrote:
> > Extended K8T890 driver to include the K8T800 and K8M800 northbridges.
> > The K8T800 is almost identical to the K8T800Pro, also added to this
> > patch. The K8T800_OLD is also defined, which is an older  version of 
> > the K8T800, but which has no driver and early HT code yet.
> > Also extended the K8M890 VGA driver to work for the K8M800 (not tested).
> > According to the datasheet, the K8T890 and K8T800 are similar enough
> > to be able to use the same initialization code. At least for the
> > K8T800, this is sufficient to have a working HT link with the CPU, and
> > to initialise the V-Link to the southbridge.
> > 
> > Signed-off-by Alexandru Gagniuc 
> 
> Acked-by: Peter Stuge 
> 
> r6367
 
Sorry, we have to back this out again since the license of some of the
files are not compatible with the coreboot license. 
Unfortunately at this point we can not allow GPLv3 code in the
repository, as the resulting image will be GPLv2.

Can you please back this out, Peter? (Or Alexandru, send a license
update if licensing your files under GPLv2 is ok for you)

Stefan


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-02-16 Thread Peter Stuge
Alex G. wrote:
> Extended K8T890 driver to include the K8T800 and K8M800 northbridges.
> The K8T800 is almost identical to the K8T800Pro, also added to this
> patch. The K8T800_OLD is also defined, which is an older  version of 
> the K8T800, but which has no driver and early HT code yet.
> Also extended the K8M890 VGA driver to work for the K8M800 (not tested).
> According to the datasheet, the K8T890 and K8T800 are similar enough
> to be able to use the same initialization code. At least for the
> K8T800, this is sufficient to have a working HT link with the CPU, and
> to initialise the V-Link to the southbridge.
> 
> Signed-off-by Alexandru Gagniuc 

Acked-by: Peter Stuge 

r6367

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


[coreboot] [PATCH] Add K8T800, K8T800Pro*, and K8M800* support

2011-02-11 Thread Alex G.
Find attached a new version of my previous patch for the K8T800. In my
previous patch, I was worried that the .tblpointer could contain
incorrect values. I have hexdumped the image for the A8V-E SE (K8T8900
chipset), and it contains the correct values. The same applies to the
board I'm porting (with K8T800 chipset).

I remember someone on IRC asking about the previous patch for the
K8T800. I've added the PCI ID for the K8M800 VGA controller to the
K8M890 driver, so the VGA might work (TM) on the K8M800.

The code for the K8T800 works. The reason I'm not also putting up a
patch for the ASUS K8V-X SE is that IRQs are not (yet) working well for
this board.

Alex

*These northbridges have not been tested.
Extended K8T890 driver to include the K8T800 and K8M800 northbridges.
The K8T800 is almost identical to the K8T800Pro, also added to this
patch. The K8T800_OLD is also defined, which is an older  version of 
the K8T800, but which has no driver and early HT code yet.
Also extended the K8M890 VGA driver to work for the K8M800 (not tested).
According to the datasheet, the K8T890 and K8T800 are similar enough
to be able to use the same initialization code. At least for the
K8T800, this is sufficient to have a working HT link with the CPU, and
to initialise the V-Link to the southbridge.

Signed-off-by Alexandru Gagniuc 


Index: src/southbridge/via/vt8237r/vt8237r.c
===
--- src/southbridge/via/vt8237r/vt8237r.c	(revision 6342)
+++ src/southbridge/via/vt8237r/vt8237r.c	(working copy)
@@ -40,9 +40,9 @@
 	if (regval != what) {
 		print_debug("Writeback to ");
 		print_debug_hex8(where);
-		print_debug("failed ");
+		print_debug(" failed ");
 		print_debug_hex8(regval);
-		print_debug("\n ");	/* TODO: Drop the space? */
+		print_debug("\n");
 	}
 }
 #else
Index: src/southbridge/via/vt8237r/ctrl.c
===
--- src/southbridge/via/vt8237r/ctrl.c	(revision 6342)
+++ src/southbridge/via/vt8237r/ctrl.c	(working copy)
@@ -2,6 +2,7 @@
  * This file is part of the coreboot project.
  *
  * Copyright (C) 2008 Rudolf Marek 
+ * Copyright (C) 2011 Alexandru Gagniuc 
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -32,9 +33,15 @@
 	device_t devfun3;
 
 	devfun3 = dev_find_device(PCI_VENDOR_ID_VIA,
-  PCI_DEVICE_ID_VIA_K8T890CE_3, 0);
+  PCI_DEVICE_ID_VIA_K8T800_DRAM, 0);
 	if (!devfun3)
 		devfun3 = dev_find_device(PCI_VENDOR_ID_VIA,
+	  PCI_DEVICE_ID_VIA_K8M800_DRAM, 0);
+	if (!devfun3)
+	  devfun3 = dev_find_device(PCI_VENDOR_ID_VIA,
+PCI_DEVICE_ID_VIA_K8T890CE_3, 0);
+	if (!devfun3)
+		devfun3 = dev_find_device(PCI_VENDOR_ID_VIA,
 	  PCI_DEVICE_ID_VIA_K8M890CE_3, 0);
 	if (!devfun3)
 		devfun3 = dev_find_device(PCI_VENDOR_ID_VIA,
@@ -108,16 +115,25 @@
 	device_t devfun7;
 
 	devfun7 = dev_find_device(PCI_VENDOR_ID_VIA,
-  PCI_DEVICE_ID_VIA_K8T890CE_7, 0);
+  PCI_DEVICE_ID_VIA_K8T800_NB_SB_CTR, 0);
 	if (!devfun7)
 		devfun7 = dev_find_device(PCI_VENDOR_ID_VIA,
+	  PCI_DEVICE_ID_VIA_K8M800_NB_SB_CTR, 0);
+	if (!devfun7)
+		devfun7 = dev_find_device(PCI_VENDOR_ID_VIA,
+	  PCI_DEVICE_ID_VIA_K8T890CE_7, 0);
+	if (!devfun7)
+		devfun7 = dev_find_device(PCI_VENDOR_ID_VIA,
 	  PCI_DEVICE_ID_VIA_K8M890CE_7, 0);
 	if (!devfun7)
 		devfun7 = dev_find_device(PCI_VENDOR_ID_VIA,
 	  PCI_DEVICE_ID_VIA_K8T890CF_7, 0);
 	/* No pairing NB was found. */
 	if (!devfun7)
+	{
+		print_debug("vt8237s_vlink_init: No pairing NB was found.\n");
 		return;
+	}
 
 	/*
 	 * This init code is valid only for the VT8237S! For different
@@ -174,16 +190,25 @@
 	device_t devfun7;
 
 	devfun7 = dev_find_device(PCI_VENDOR_ID_VIA,
-  PCI_DEVICE_ID_VIA_K8T890CE_7, 0);
+  PCI_DEVICE_ID_VIA_K8T800_NB_SB_CTR, 0);
 	if (!devfun7)
 		devfun7 = dev_find_device(PCI_VENDOR_ID_VIA,
+	  PCI_DEVICE_ID_VIA_K8M800_NB_SB_CTR, 0);
+	if (!devfun7)
+		devfun7 = dev_find_device(PCI_VENDOR_ID_VIA,
+	  PCI_DEVICE_ID_VIA_K8T890CE_7, 0);
+	if (!devfun7)
+		devfun7 = dev_find_device(PCI_VENDOR_ID_VIA,
 	  PCI_DEVICE_ID_VIA_K8M890CE_7, 0);
 	if (!devfun7)
 		devfun7 = dev_find_device(PCI_VENDOR_ID_VIA,
 	  PCI_DEVICE_ID_VIA_K8T890CF_7, 0);
 	/* No pairing NB was found. */
 	if (!devfun7)
+	{
+		print_debug("vt8237a_vlink_init: No pairing NB was found.\n");
 		return;
+	}
 
 	/*
 	 * This init code is valid only for the VT8237A! For different
Index: src/southbridge/via/vt8237r/lpc.c
===
--- src/southbridge/via/vt8237r/lpc.c	(revision 6342)
+++ src/southbridge/via/vt8237r/lpc.c	(working copy)
@@ -299,11 +299,20 @@
 	 */
 	pci_write_config8(dev, 0x48, 0x0c);
 #else
+	
+  #if CONFIG_SOUTHBRIDGE_VIA_K8T800
+	/* It seems that when we pair with the K8T800, we need to disable
+	 * the A2 mask
+	 */
+	pci_write_config8(dev, 0x48, 0x0c);
+