From dc9cabd6c3239e7cfd9fc9efd31f19c0c4167152 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 18 Aug 2009 17:14:58 +0000 Subject: [PATCH] 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 Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4551 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/Kconfig | 2 +- src/southbridge/Makefile.inc | 2 +- src/southbridge/via/Kconfig | 8 +++---- src/southbridge/via/Makefile.inc | 10 ++++----- src/southbridge/via/vt8237r/Kconfig | 23 ++++++++++++++++++++ src/southbridge/via/vt8237r/Makefile.inc | 27 ++++++++++++++++++++++++ 6 files changed, 61 insertions(+), 11 deletions(-) create mode 100644 src/southbridge/via/vt8237r/Kconfig create mode 100644 src/southbridge/via/vt8237r/Makefile.inc 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 +## +## 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