From 0588d19abef62dad63a7794a37bdd6a71c526d9e Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 12 Aug 2009 15:00:51 +0000 Subject: Kconfig! Works on Kontron, qemu, and serengeti. Signed-off-by: Patrick Georgi tested on abuild only. Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4534 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/Kconfig | 5 +++++ src/northbridge/Makefile.inc | 5 +++++ src/northbridge/amd/Kconfig | 7 +++++++ src/northbridge/amd/Makefile.inc | 8 ++++++++ src/northbridge/amd/amdk8/Kconfig | 22 ++++++++++++++++++++ src/northbridge/amd/amdk8/root_complex/Kconfig | 22 ++++++++++++++++++++ src/northbridge/ibm/Kconfig | 2 ++ src/northbridge/ibm/Makefile.inc | 2 ++ src/northbridge/intel/Kconfig | 10 +++++++++ src/northbridge/intel/Makefile.inc | 10 +++++++++ src/northbridge/intel/i82810/Kconfig | 28 ++++++++++++++++++++++++++ src/northbridge/intel/i82810/Makefile.inc | 22 ++++++++++++++++++++ src/northbridge/intel/i945/Kconfig | 22 ++++++++++++++++++++ src/northbridge/intel/i945/Makefile.inc | 24 ++++++++++++++++++++++ src/northbridge/motorola/Kconfig | 1 + src/northbridge/motorola/Makefile.inc | 1 + src/northbridge/via/Kconfig | 5 +++++ src/northbridge/via/Makefile.inc | 6 ++++++ src/northbridge/via/cx700/Kconfig | 3 +++ src/northbridge/via/cx700/Makefile.inc | 25 +++++++++++++++++++++++ 20 files changed, 230 insertions(+) create mode 100644 src/northbridge/Kconfig create mode 100644 src/northbridge/Makefile.inc create mode 100644 src/northbridge/amd/Kconfig create mode 100644 src/northbridge/amd/Makefile.inc create mode 100644 src/northbridge/amd/amdk8/Kconfig create mode 100644 src/northbridge/amd/amdk8/root_complex/Kconfig create mode 100644 src/northbridge/ibm/Kconfig create mode 100644 src/northbridge/ibm/Makefile.inc create mode 100644 src/northbridge/intel/Kconfig create mode 100644 src/northbridge/intel/Makefile.inc create mode 100644 src/northbridge/intel/i82810/Kconfig create mode 100644 src/northbridge/intel/i82810/Makefile.inc create mode 100644 src/northbridge/intel/i945/Kconfig create mode 100644 src/northbridge/intel/i945/Makefile.inc create mode 100644 src/northbridge/motorola/Kconfig create mode 100644 src/northbridge/motorola/Makefile.inc create mode 100644 src/northbridge/via/Kconfig create mode 100644 src/northbridge/via/Makefile.inc create mode 100644 src/northbridge/via/cx700/Kconfig create mode 100644 src/northbridge/via/cx700/Makefile.inc (limited to 'src/northbridge') diff --git a/src/northbridge/Kconfig b/src/northbridge/Kconfig new file mode 100644 index 0000000000..666ff4d112 --- /dev/null +++ b/src/northbridge/Kconfig @@ -0,0 +1,5 @@ +#source src/northbridge/amd/Kconfig +#source src/northbridge/ibm/Kconfig +source src/northbridge/intel/Kconfig +#source src/northbridge/motorola/Kconfig +source src/northbridge/via/Kconfig diff --git a/src/northbridge/Makefile.inc b/src/northbridge/Makefile.inc new file mode 100644 index 0000000000..8aac9b9401 --- /dev/null +++ b/src/northbridge/Makefile.inc @@ -0,0 +1,5 @@ +#subdirs-y += amd +#subdirs-y += ibm +subdirs-y += intel +#subdirs-y += motorola +subdirs-y += via diff --git a/src/northbridge/amd/Kconfig b/src/northbridge/amd/Kconfig new file mode 100644 index 0000000000..30c9070c8c --- /dev/null +++ b/src/northbridge/amd/Kconfig @@ -0,0 +1,7 @@ +#source src/northbridge/amd/amdfam10/Kconfig +#source src/northbridge/amd/amdht/Kconfig +source src/northbridge/amd/amdk8/Kconfig +#source src/northbridge/amd/amdmct/Kconfig +#source src/northbridge/amd/gx1/Kconfig +#source src/northbridge/amd/gx2/Kconfig +#source src/northbridge/amd/lx/Kconfig diff --git a/src/northbridge/amd/Makefile.inc b/src/northbridge/amd/Makefile.inc new file mode 100644 index 0000000000..06e931482a --- /dev/null +++ b/src/northbridge/amd/Makefile.inc @@ -0,0 +1,8 @@ +subdirs-$(CPU_AMD_K10) += amdfam10 +subdirs-$(CPU_AMD_HT) += amdht +subdirs-$(CPU_AMD_K8) += amdk8 +subdirs-$(CPU_AMD_MCT) += amdmct +subdirs-$(CPU_AMD_GX1) += gx1 +subdirs-$(CPU_AMD_GX2) += gx2 +subdirs-$(CPU_AMD_LX) += lx + diff --git a/src/northbridge/amd/amdk8/Kconfig b/src/northbridge/amd/amdk8/Kconfig new file mode 100644 index 0000000000..171f1f50ee --- /dev/null +++ b/src/northbridge/amd/amdk8/Kconfig @@ -0,0 +1,22 @@ +# +# This file is part of the coreboot project. +# +# Copyright (C) 2007-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 NORTHBRIDGE_AMD_AMDK8 + bool + default n diff --git a/src/northbridge/amd/amdk8/root_complex/Kconfig b/src/northbridge/amd/amdk8/root_complex/Kconfig new file mode 100644 index 0000000000..a1cd24e108 --- /dev/null +++ b/src/northbridge/amd/amdk8/root_complex/Kconfig @@ -0,0 +1,22 @@ +# +# This file is part of the coreboot project. +# +# Copyright (C) 2007-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 NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX + bool + default n diff --git a/src/northbridge/ibm/Kconfig b/src/northbridge/ibm/Kconfig new file mode 100644 index 0000000000..7f893b0ba0 --- /dev/null +++ b/src/northbridge/ibm/Kconfig @@ -0,0 +1,2 @@ +#source src/northbridge/ibm/cpc710/Kconfig +#source src/northbridge/ibm/cpc925/Kconfig diff --git a/src/northbridge/ibm/Makefile.inc b/src/northbridge/ibm/Makefile.inc new file mode 100644 index 0000000000..aebf07caa0 --- /dev/null +++ b/src/northbridge/ibm/Makefile.inc @@ -0,0 +1,2 @@ +subdirs-y += cpc710 +subdirs-y += cpc925 diff --git a/src/northbridge/intel/Kconfig b/src/northbridge/intel/Kconfig new file mode 100644 index 0000000000..61a832e8d0 --- /dev/null +++ b/src/northbridge/intel/Kconfig @@ -0,0 +1,10 @@ +#source src/northbridge/intel/e7501/Kconfig +#source src/northbridge/intel/e7520/Kconfig +#source src/northbridge/intel/e7525/Kconfig +#source src/northbridge/intel/i3100/Kconfig +#source src/northbridge/intel/i440bx/Kconfig +source src/northbridge/intel/i82810/Kconfig +#source src/northbridge/intel/i82830/Kconfig +#source src/northbridge/intel/i855gme/Kconfig +#source src/northbridge/intel/i855pm/Kconfig +source src/northbridge/intel/i945/Kconfig diff --git a/src/northbridge/intel/Makefile.inc b/src/northbridge/intel/Makefile.inc new file mode 100644 index 0000000000..34ed9aa8ed --- /dev/null +++ b/src/northbridge/intel/Makefile.inc @@ -0,0 +1,10 @@ +#subdirs-y += e7501 +#subdirs-y += e7520 +#subdirs-y += e7525 +#subdirs-y += i3100 +#subdirs-y += i440bx +subdirs-y += i82810 +#subdirs-y += i82830 +#subdirs-y += i855gme +#subdirs-y += i855pm +subdirs-y += i945 diff --git a/src/northbridge/intel/i82810/Kconfig b/src/northbridge/intel/i82810/Kconfig new file mode 100644 index 0000000000..62f3705061 --- /dev/null +++ b/src/northbridge/intel/i82810/Kconfig @@ -0,0 +1,28 @@ +## +## This file is part of the coreboot project. +## +## Copyright (C) 2009 Uwe Hermann +## +## 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 HAVE_HIGH_TABLES + bool "Do we have high tables" + default y + +config NORTHBRIDGE_INTEL_I82810 + bool + default n + diff --git a/src/northbridge/intel/i82810/Makefile.inc b/src/northbridge/intel/i82810/Makefile.inc new file mode 100644 index 0000000000..6c8ffe93af --- /dev/null +++ b/src/northbridge/intel/i82810/Makefile.inc @@ -0,0 +1,22 @@ +## +## This file is part of the coreboot project. +## +## Copyright (C) 2009 Uwe Hermann +## +## 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_NORTHBRIDGE_INTEL_I82810) += northbridge.o + diff --git a/src/northbridge/intel/i945/Kconfig b/src/northbridge/intel/i945/Kconfig new file mode 100644 index 0000000000..468602d15e --- /dev/null +++ b/src/northbridge/intel/i945/Kconfig @@ -0,0 +1,22 @@ +# +# This file is part of the coreboot project. +# +# Copyright (C) 2007-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 NORTHBRIDGE_INTEL_I945 + bool + default n diff --git a/src/northbridge/intel/i945/Makefile.inc b/src/northbridge/intel/i945/Makefile.inc new file mode 100644 index 0000000000..290ea0ceaa --- /dev/null +++ b/src/northbridge/intel/i945/Makefile.inc @@ -0,0 +1,24 @@ +# +# This file is part of the coreboot project. +# +# Copyright (C) 2007-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_NORTHBRIDGE_INTEL_I945) += northbridge.o +driver-$(CONFIG_NORTHBRIDGE_INTEL_I945) += gma.o +ifeq ($(CONFIG_HAVE_ACPI_TABLES),y) + obj-$(CONFIG_NORTHBRIDGE_INTEL_I945) += acpi.o +endif diff --git a/src/northbridge/motorola/Kconfig b/src/northbridge/motorola/Kconfig new file mode 100644 index 0000000000..9e1258a0b6 --- /dev/null +++ b/src/northbridge/motorola/Kconfig @@ -0,0 +1 @@ +#source src/northbridge/motorola/mpc107/Kconfig diff --git a/src/northbridge/motorola/Makefile.inc b/src/northbridge/motorola/Makefile.inc new file mode 100644 index 0000000000..8ad991b01b --- /dev/null +++ b/src/northbridge/motorola/Makefile.inc @@ -0,0 +1 @@ +subdirs-y += mpc107 diff --git a/src/northbridge/via/Kconfig b/src/northbridge/via/Kconfig new file mode 100644 index 0000000000..0ed85e6737 --- /dev/null +++ b/src/northbridge/via/Kconfig @@ -0,0 +1,5 @@ +#source src/northbridge/via/cn700/Kconfig +source src/northbridge/via/cx700/Kconfig +#source src/northbridge/via/vt8601/Kconfig +#source src/northbridge/via/vt8623/Kconfig +#source src/northbridge/via/vx800/Kconfig diff --git a/src/northbridge/via/Makefile.inc b/src/northbridge/via/Makefile.inc new file mode 100644 index 0000000000..7062ea5b52 --- /dev/null +++ b/src/northbridge/via/Makefile.inc @@ -0,0 +1,6 @@ +#subdirs-y += vt8601 +#subdirs-y += vt8623 +#subdirs-y += cn700 +subdirs-y += cx700 +#subdirs-y += vx800 + diff --git a/src/northbridge/via/cx700/Kconfig b/src/northbridge/via/cx700/Kconfig new file mode 100644 index 0000000000..d103dd17ad --- /dev/null +++ b/src/northbridge/via/cx700/Kconfig @@ -0,0 +1,3 @@ +config NORTHBRIDGE_VIA_CX700 + bool + default n diff --git a/src/northbridge/via/cx700/Makefile.inc b/src/northbridge/via/cx700/Makefile.inc new file mode 100644 index 0000000000..1f9e50e993 --- /dev/null +++ b/src/northbridge/via/cx700/Makefile.inc @@ -0,0 +1,25 @@ +## This file is part of the coreboot project. +## +## Copyright (C) 2007-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 + +obj-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700_reset.o +obj-$(CONFIG_NORTHBRIDGE_VIA_CX700) += northbridge.o +obj-$(CONFIG_NORTHBRIDGE_VIA_CX700) += vgabios.o + +driver-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700_agp.o +driver-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700_lpc.o +driver-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700_sata.o +driver-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700_vga.o -- cgit v1.2.3