Add via south support. Correct usage of conditional variables.
authorRonald G. Minnich <rminnich@gmail.com>
Tue, 18 Aug 2009 17:14:58 +0000 (17:14 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Tue, 18 Aug 2009 17:14:58 +0000 (17:14 +0000)
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

src/southbridge/Kconfig
src/southbridge/Makefile.inc
src/southbridge/via/Kconfig
src/southbridge/via/Makefile.inc
src/southbridge/via/vt8237r/Kconfig [new file with mode: 0644]
src/southbridge/via/vt8237r/Makefile.inc [new file with mode: 0644]

index b3303a5c36fa49c1f52c21f51b74ed90cf921081..9e38328d0fe55390ba38fbe78fe1bab29267c010 100644 (file)
@@ -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
index 8986f14e5552772d8baa2c0da06a4baffb79a661..fd040939e7e7efa37dfa425893b4bd2250d7719b 100644 (file)
@@ -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
index fb19cbc003fa1e9acc2c06b9a93871189fbbe851..cbc697d3af4e8b208704b6143910c4767148e361 100644 (file)
@@ -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 12357e9f4e87bca3a86e898fa084fdca4e00e313..b866b3345803dca83f7091be6fbc250650ba3781 100644 (file)
@@ -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 (file)
index 0000000..018eedc
--- /dev/null
@@ -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 (file)
index 0000000..c1b743d
--- /dev/null
@@ -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