summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-08-12 15:00:51 +0000
committerRonald G. Minnich <rminnich@gmail.com>2009-08-12 15:00:51 +0000
commit0588d19abef62dad63a7794a37bdd6a71c526d9e (patch)
tree1c507caa1ffed6ceb73d3e13fc9b766a713d16e2 /src/southbridge
parent38cd29ebd7282333650cf11ed50c7f2fd4031e80 (diff)
Kconfig!
Works on Kontron, qemu, and serengeti. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> tested on abuild only. Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4534 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/Kconfig8
-rw-r--r--src/southbridge/Makefile.inc8
-rw-r--r--src/southbridge/amd/Kconfig10
-rw-r--r--src/southbridge/amd/Makefile.inc11
-rw-r--r--src/southbridge/amd/amd8111/Kconfig23
-rw-r--r--src/southbridge/broadcom/Kconfig3
-rw-r--r--src/southbridge/broadcom/Makefile.inc4
-rw-r--r--src/southbridge/intel/Kconfig10
-rw-r--r--src/southbridge/intel/Makefile.inc11
-rw-r--r--src/southbridge/intel/i82371eb/Kconfig3
-rw-r--r--src/southbridge/intel/i82371eb/Makefile.inc27
-rw-r--r--src/southbridge/intel/i82801gx/Kconfig23
-rw-r--r--src/southbridge/intel/i82801gx/Makefile.inc40
-rw-r--r--src/southbridge/intel/i82801xx/Kconfig24
-rw-r--r--src/southbridge/intel/i82801xx/Makefile.inc36
-rw-r--r--src/southbridge/nvidia/Kconfig2
-rw-r--r--src/southbridge/nvidia/Makefile.inc3
-rw-r--r--src/southbridge/ricoh/Kconfig1
-rw-r--r--src/southbridge/ricoh/Makefile.inc1
-rw-r--r--src/southbridge/sis/Kconfig1
-rw-r--r--src/southbridge/sis/Makefile.inc2
-rw-r--r--src/southbridge/via/Kconfig5
-rw-r--r--src/southbridge/via/Makefile.inc5
-rw-r--r--src/southbridge/winbond/Kconfig1
-rw-r--r--src/southbridge/winbond/Makefile.inc1
25 files changed, 263 insertions, 0 deletions
diff --git a/src/southbridge/Kconfig b/src/southbridge/Kconfig
new file mode 100644
index 0000000000..51a4fb5e9c
--- /dev/null
+++ b/src/southbridge/Kconfig
@@ -0,0 +1,8 @@
+#source src/southbridge/amd/Kconfig
+#source src/southbridge/broadcom/Kconfig
+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/winbond/Kconfig
diff --git a/src/southbridge/Makefile.inc b/src/southbridge/Makefile.inc
new file mode 100644
index 0000000000..8f795a2f67
--- /dev/null
+++ b/src/southbridge/Makefile.inc
@@ -0,0 +1,8 @@
+#subdirs-y += amd
+#subdirs-y += broadcom
+subdirs-y += intel
+#subdirs-y += nvidia
+#subdirs-y += ricoh
+#subdirs-y += sis
+#subdirs-y += via
+#subdirs-y += winbond
diff --git a/src/southbridge/amd/Kconfig b/src/southbridge/amd/Kconfig
new file mode 100644
index 0000000000..d451debfa5
--- /dev/null
+++ b/src/southbridge/amd/Kconfig
@@ -0,0 +1,10 @@
+source src/southbridge/amd/amd8111/Kconfig
+source src/southbridge/amd/amd8131/Kconfig
+source src/southbridge/amd/amd8131-disable/Kconfig
+source src/southbridge/amd/amd8132/Kconfig
+source src/southbridge/amd/amd8151/Kconfig
+source src/southbridge/amd/cs5530/Kconfig
+source src/southbridge/amd/cs5535/Kconfig
+source src/southbridge/amd/cs5536/Kconfig
+source src/southbridge/amd/rs690/Kconfig
+source src/southbridge/amd/sb600/Kconfig
diff --git a/src/southbridge/amd/Makefile.inc b/src/southbridge/amd/Makefile.inc
new file mode 100644
index 0000000000..caf5e42690
--- /dev/null
+++ b/src/southbridge/amd/Makefile.inc
@@ -0,0 +1,11 @@
+subdirs-$(SOUTHBRIDGE_AMD_AMD8111) += amd8111
+subdirs-$(SOUTHBRIDGE_AMD_AMD8131) += amd8131
+subdirs-$(SOUTHBRIDGE_AMD_AMD8112) += amd8132
+subdirs-$(SOUTHBRIDGE_AMD_AMD8151) += amd8151
+subdirs-$(SOUTHBRIDGE_AMD_RS690) += rs690
+subdirs-$(SOUTHBRIDGE_AMD_SB600) += sb600
+
+subdirs-$(SOUTHBRIDGE_AMD_CS5530) += cs5530
+subdirs-$(SOUTHBRIDGE_AMD_CS5535) += cs5535
+subdirs-$(SOUTHBRIDGE_AMD_CS5536) += cs5536
+
diff --git a/src/southbridge/amd/amd8111/Kconfig b/src/southbridge/amd/amd8111/Kconfig
new file mode 100644
index 0000000000..f0e3b1d6d8
--- /dev/null
+++ b/src/southbridge/amd/amd8111/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_AMD_AMD8111
+ bool
+ default n
+
diff --git a/src/southbridge/broadcom/Kconfig b/src/southbridge/broadcom/Kconfig
new file mode 100644
index 0000000000..38ff222a08
--- /dev/null
+++ b/src/southbridge/broadcom/Kconfig
@@ -0,0 +1,3 @@
+source src/southbridge/broadcom/bcm21000/Kconfig
+source src/southbridge/broadcom/bcm5780/Kconfig
+source src/southbridge/broadcom/bcm5785/Kconfig
diff --git a/src/southbridge/broadcom/Makefile.inc b/src/southbridge/broadcom/Makefile.inc
new file mode 100644
index 0000000000..e928b3625b
--- /dev/null
+++ b/src/southbridge/broadcom/Makefile.inc
@@ -0,0 +1,4 @@
+subdirs-y += bcm21000
+subdirs-y += bcm5780
+subdirs-y += bcm5785
+
diff --git a/src/southbridge/intel/Kconfig b/src/southbridge/intel/Kconfig
new file mode 100644
index 0000000000..25adf845a3
--- /dev/null
+++ b/src/southbridge/intel/Kconfig
@@ -0,0 +1,10 @@
+#source src/southbridge/intel/esb6300/Kconfig
+#source src/southbridge/intel/i3100/Kconfig
+source src/southbridge/intel/i82371eb/Kconfig
+#source src/southbridge/intel/i82801ca/Kconfig
+#source src/southbridge/intel/i82801dbm/Kconfig
+#source src/southbridge/intel/i82801er/Kconfig
+source src/southbridge/intel/i82801gx/Kconfig
+source src/southbridge/intel/i82801xx/Kconfig
+#source src/southbridge/intel/i82870/Kconfig
+#source src/southbridge/intel/pxhd/Kconfig
diff --git a/src/southbridge/intel/Makefile.inc b/src/southbridge/intel/Makefile.inc
new file mode 100644
index 0000000000..d69f0abb9c
--- /dev/null
+++ b/src/southbridge/intel/Makefile.inc
@@ -0,0 +1,11 @@
+#subdirs-y += esb6300
+#subdirs-y += i3100
+subdirs-y += i82371eb
+#subdirs-y += i82801ca
+#subdirs-y += i82801dbm
+#subdirs-y += i82801er
+subdirs-y += i82801gx
+subdirs-y += i82801xx
+#subdirs-y += i82870
+#subdirs-y += pxhd
+
diff --git a/src/southbridge/intel/i82371eb/Kconfig b/src/southbridge/intel/i82371eb/Kconfig
new file mode 100644
index 0000000000..e1c2044403
--- /dev/null
+++ b/src/southbridge/intel/i82371eb/Kconfig
@@ -0,0 +1,3 @@
+config SOUTHBRIDGE_INTEL_I82371EB
+ boolean
+
diff --git a/src/southbridge/intel/i82371eb/Makefile.inc b/src/southbridge/intel/i82371eb/Makefile.inc
new file mode 100644
index 0000000000..1ddd4c96b3
--- /dev/null
+++ b/src/southbridge/intel/i82371eb/Makefile.inc
@@ -0,0 +1,27 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## 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 2 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
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82371EB) += i82371eb.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82371EB) += i82371eb_isa.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82371EB) += i82371eb_ide.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82371EB) += i82371eb_usb.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82371EB) += i82371eb_smbus.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82371EB) += i82371eb_reset.o
+
+#initobj-$(CONFIG_SOUTHBRIDGE_INTEL_I82371EB) += i82371eb_early_rom.o
diff --git a/src/southbridge/intel/i82801gx/Kconfig b/src/southbridge/intel/i82801gx/Kconfig
new file mode 100644
index 0000000000..111c56183a
--- /dev/null
+++ b/src/southbridge/intel/i82801gx/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_INTEL_I82801GX
+ bool
+ default n
+
diff --git a/src/southbridge/intel/i82801gx/Makefile.inc b/src/southbridge/intel/i82801gx/Makefile.inc
new file mode 100644
index 0000000000..387ed100d7
--- /dev/null
+++ b/src/southbridge/intel/i82801gx/Makefile.inc
@@ -0,0 +1,40 @@
+##
+## 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
+##
+
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_ac97.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_azalia.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_ide.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_lpc.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_nic.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_pci.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_pcie.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_sata.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_smbus.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_usb.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_usb_ehci.o
+
+object-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_reset.o
+object-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_watchdog.o
+
+# arg. How does the linux kconfig handle compound conditionals?
+ifeq ($(CONFIG_HAVE_SMI_HANDLER),y)
+ object-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_smi.o
+ smmobj-$(CONFIG_SOUTHBRIDGE_INTEL_I82801GX) += i82801gx_smihandler.o
+endif
diff --git a/src/southbridge/intel/i82801xx/Kconfig b/src/southbridge/intel/i82801xx/Kconfig
new file mode 100644
index 0000000000..ce4ab30e11
--- /dev/null
+++ b/src/southbridge/intel/i82801xx/Kconfig
@@ -0,0 +1,24 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## 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 2 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
+## 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_INTEL_I82801XX
+ bool
+ default n
+
diff --git a/src/southbridge/intel/i82801xx/Makefile.inc b/src/southbridge/intel/i82801xx/Makefile.inc
new file mode 100644
index 0000000000..337b4e88f7
--- /dev/null
+++ b/src/southbridge/intel/i82801xx/Makefile.inc
@@ -0,0 +1,36 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## 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 2 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
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_ac97.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_ide.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_lpc.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_nic.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_pci.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_sata.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_smbus.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_usb.o
+driver-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_usb_ehci.o
+
+object-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_reset.o
+object-$(CONFIG_SOUTHBRIDGE_INTEL_I82801XX) += i82801xx_watchdog.o
+
+# TODO: What about cmos_failover.c?
+
diff --git a/src/southbridge/nvidia/Kconfig b/src/southbridge/nvidia/Kconfig
new file mode 100644
index 0000000000..59fc8ed6a6
--- /dev/null
+++ b/src/southbridge/nvidia/Kconfig
@@ -0,0 +1,2 @@
+source src/southbridge/nvidia/ck804/Kconfig
+source src/southbridge/nvidia/mcp55/Kconfig
diff --git a/src/southbridge/nvidia/Makefile.inc b/src/southbridge/nvidia/Makefile.inc
new file mode 100644
index 0000000000..cb3bc70ac5
--- /dev/null
+++ b/src/southbridge/nvidia/Makefile.inc
@@ -0,0 +1,3 @@
+subdirs-y += ck804
+subdirs-y += mcp55
+
diff --git a/src/southbridge/ricoh/Kconfig b/src/southbridge/ricoh/Kconfig
new file mode 100644
index 0000000000..2d25e9e2d6
--- /dev/null
+++ b/src/southbridge/ricoh/Kconfig
@@ -0,0 +1 @@
+source src/southbridge/ricoh/rl5c476/Kconfig
diff --git a/src/southbridge/ricoh/Makefile.inc b/src/southbridge/ricoh/Makefile.inc
new file mode 100644
index 0000000000..81051c989b
--- /dev/null
+++ b/src/southbridge/ricoh/Makefile.inc
@@ -0,0 +1 @@
+subdirs-y += rl5c476
diff --git a/src/southbridge/sis/Kconfig b/src/southbridge/sis/Kconfig
new file mode 100644
index 0000000000..4d113841e2
--- /dev/null
+++ b/src/southbridge/sis/Kconfig
@@ -0,0 +1 @@
+source src/southbridge/sis/sis966/Kconfig
diff --git a/src/southbridge/sis/Makefile.inc b/src/southbridge/sis/Makefile.inc
new file mode 100644
index 0000000000..741df1c7d0
--- /dev/null
+++ b/src/southbridge/sis/Makefile.inc
@@ -0,0 +1,2 @@
+subdirs-y += sis966
+
diff --git a/src/southbridge/via/Kconfig b/src/southbridge/via/Kconfig
new file mode 100644
index 0000000000..fb19cbc003
--- /dev/null
+++ b/src/southbridge/via/Kconfig
@@ -0,0 +1,5 @@
+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
diff --git a/src/southbridge/via/Makefile.inc b/src/southbridge/via/Makefile.inc
new file mode 100644
index 0000000000..12357e9f4e
--- /dev/null
+++ b/src/southbridge/via/Makefile.inc
@@ -0,0 +1,5 @@
+subdirs-y += k8t890
+subdirs-y += vt8231
+subdirs-y += vt8235
+subdirs-y += vt8237r
+subdirs-y += vt82c686
diff --git a/src/southbridge/winbond/Kconfig b/src/southbridge/winbond/Kconfig
new file mode 100644
index 0000000000..9ca0c3ee40
--- /dev/null
+++ b/src/southbridge/winbond/Kconfig
@@ -0,0 +1 @@
+source src/southbridge/winbond/w83c553/Kconfig
diff --git a/src/southbridge/winbond/Makefile.inc b/src/southbridge/winbond/Makefile.inc
new file mode 100644
index 0000000000..004313a7fa
--- /dev/null
+++ b/src/southbridge/winbond/Makefile.inc
@@ -0,0 +1 @@
+subdirs-y += w83c553