summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2009-08-18 17:14:58 +0000
committerRonald G. Minnich <rminnich@gmail.com>2009-08-18 17:14:58 +0000
commitdc9cabd6c3239e7cfd9fc9efd31f19c0c4167152 (patch)
treeae9463e2b5941272f00fb5cb26ca640efa8e010a /src
parent9c2e738653df435afec8a8f212d0c2c69aa9645c (diff)
Add via south support. Correct usage of conditional variables.
Note the makefile.inc may be out of date given the new commits of code today, but this is what was signed off ... Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4551 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/Kconfig2
-rw-r--r--src/southbridge/Makefile.inc2
-rw-r--r--src/southbridge/via/Kconfig8
-rw-r--r--src/southbridge/via/Makefile.inc10
-rw-r--r--src/southbridge/via/vt8237r/Kconfig23
-rw-r--r--src/southbridge/via/vt8237r/Makefile.inc27
6 files changed, 61 insertions, 11 deletions
diff --git a/src/southbridge/Kconfig b/src/southbridge/Kconfig
index b3303a5c36..9e38328d0f 100644
--- a/src/southbridge/Kconfig
+++ b/src/southbridge/Kconfig
@@ -4,5 +4,5 @@ source src/southbridge/intel/Kconfig
#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
diff --git a/src/southbridge/Makefile.inc b/src/southbridge/Makefile.inc
index 8986f14e55..fd040939e7 100644
--- a/src/southbridge/Makefile.inc
+++ b/src/southbridge/Makefile.inc
@@ -4,5 +4,5 @@ subdirs-y += intel
#subdirs-y += nvidia
#subdirs-y += ricoh
#subdirs-y += sis
-#subdirs-y += via
+subdirs-y += via
#subdirs-y += winbond
diff --git a/src/southbridge/via/Kconfig b/src/southbridge/via/Kconfig
index fb19cbc003..cbc697d3af 100644
--- a/src/southbridge/via/Kconfig
+++ b/src/southbridge/via/Kconfig
@@ -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
diff --git a/src/southbridge/via/Makefile.inc b/src/southbridge/via/Makefile.inc
index 12357e9f4e..b866b33458 100644
--- a/src/southbridge/via/Makefile.inc
+++ b/src/southbridge/via/Makefile.inc
@@ -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
diff --git a/src/southbridge/via/vt8237r/Kconfig b/src/southbridge/via/vt8237r/Kconfig
new file mode 100644
index 0000000000..018eedce9c
--- /dev/null
+++ b/src/southbridge/via/vt8237r/Kconfig
@@ -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
+
diff --git a/src/southbridge/via/vt8237r/Makefile.inc b/src/southbridge/via/vt8237r/Makefile.inc
new file mode 100644
index 0000000000..c1b743d14a
--- /dev/null
+++ b/src/southbridge/via/vt8237r/Makefile.inc
@@ -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