Patchwork initial Kconfig support for via south

login
register
about
Submitter ron minnich
Date 2009-08-17 23:48:59
Message ID <13426df10908171648i295509a8q242e41f7850f330@mail.gmail.com>
Download mbox | patch
Permalink /patch/134/
State Accepted
Headers show

Comments

ron minnich - 2009-08-17 23:48:59
attached.

ron
Stefan Reinauer - 2009-08-18 15:36:40
On 8/18/09 1:48 AM, ron minnich wrote:
> attached.
>
> ron
>   
Untested, but looks ok.

All of them are Acked-by: Stefan Reinauer <stepan@coresystems.de>

Patch

Start to add support for via southbridges. 
And, not incidentally, correct an error in southbridge/via/Makefile.inc.
subdir-y is wrong; should be subdir-$(CONFIG_etc)

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Index: southbridge/via/vt8237r/Kconfig
===================================================================
--- southbridge/via/vt8237r/Kconfig	(revision 0)
+++ southbridge/via/vt8237r/Kconfig	(revision 0)
@@ -0,0 +1,23 @@ 
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2008-2009 coresystems GmbH
+##
+## 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; version 2 of the License.
+##
+## 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
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+##
+
+config SOUTHBRIDGE_VIA_VT8237R
+	bool
+	default n
+
Index: southbridge/via/vt8237r/Makefile.inc
===================================================================
--- southbridge/via/vt8237r/Makefile.inc	(revision 0)
+++ southbridge/via/vt8237r/Makefile.inc	(revision 0)
@@ -0,0 +1,27 @@ 
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2007, 2009 Rudolf Marek <r.marek@assembler.cz>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License v2 as published by
+## the Free Software Foundation.
+##
+## 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
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+##
+
+driver-y +=  vt8237r.o
+driver-y +=  vt8237_ctrl.o
+driver-y +=  vt8237r_ide.o
+driver-y +=  vt8237r_lpc.o
+driver-y +=  vt8237r_sata.o
+driver-y +=  vt8237r_usb.o
+driver-y +=  vt8237r_nic.o
+obj-$(CONFIG_HAVE_ACPI_TABLES) += vt8237_fadt.o
Index: southbridge/via/Kconfig
===================================================================
--- southbridge/via/Kconfig	(revision 4549)
+++ southbridge/via/Kconfig	(working copy)
@@ -1,5 +1,5 @@ 
-source src/southbridge/via/k8t890/Kconfig
-source src/southbridge/via/vt8231/Kconfig
-source src/southbridge/via/vt8235/Kconfig
+#source src/southbridge/via/k8t890/Kconfig
+#source src/southbridge/via/vt8231/Kconfig
+#source src/southbridge/via/vt8235/Kconfig
 source src/southbridge/via/vt8237r/Kconfig
-source src/southbridge/via/vt82c686/Kconfig
+#source src/southbridge/via/vt82c686/Kconfig
Index: southbridge/via/Makefile.inc
===================================================================
--- southbridge/via/Makefile.inc	(revision 4549)
+++ southbridge/via/Makefile.inc	(working copy)
@@ -1,5 +1,5 @@ 
-subdirs-y += k8t890
-subdirs-y += vt8231
-subdirs-y += vt8235
-subdirs-y += vt8237r
-subdirs-y += vt82c686
+#subdirs-y += k8t890
+#subdirs-y += vt8231
+#subdirs-y += vt8235
+subdirs-$(CONFIG_SOUTHBRIDGE_VIA_VT8237R) += vt8237r
+#subdirs-y += vt82c686
Index: southbridge/Kconfig
===================================================================
--- southbridge/Kconfig	(revision 4549)
+++ southbridge/Kconfig	(working copy)
@@ -4,5 +4,5 @@ 
 #source src/southbridge/nvidia/Kconfig
 #source src/southbridge/ricoh/Kconfig
 #source src/southbridge/sis/Kconfig
-#source src/southbridge/via/Kconfig
+source src/southbridge/via/Kconfig
 #source src/southbridge/winbond/Kconfig
Index: southbridge/Makefile.inc
===================================================================
--- southbridge/Makefile.inc	(revision 4549)
+++ southbridge/Makefile.inc	(working copy)
@@ -4,5 +4,5 @@ 
 #subdirs-y += nvidia
 #subdirs-y += ricoh
 #subdirs-y += sis
-#subdirs-y += via
+subdirs-y += via
 #subdirs-y += winbond