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/cpu/intel/Kconfig | 4 ++++ src/cpu/intel/Makefile.inc | 14 ++++++++++++ src/cpu/intel/hyperthreading/Makefile.inc | 1 + src/cpu/intel/microcode/Makefile.inc | 1 + src/cpu/intel/model_69x/Makefile.inc | 1 + src/cpu/intel/model_6dx/Makefile.inc | 1 + src/cpu/intel/model_6ex/Kconfig | 4 ++++ src/cpu/intel/model_6ex/Makefile.inc | 1 + src/cpu/intel/model_6fx/Kconfig | 1 + src/cpu/intel/model_6fx/Makefile.inc | 1 + src/cpu/intel/model_6xx/Makefile.inc | 22 +++++++++++++++++++ src/cpu/intel/socket_PGA370/Kconfig | 23 +++++++++++++++++++ src/cpu/intel/socket_PGA370/Makefile.inc | 34 +++++++++++++++++++++++++++++ src/cpu/intel/socket_mFCPGA478/Kconfig | 3 +++ src/cpu/intel/socket_mFCPGA478/Makefile.inc | 17 +++++++++++++++ src/cpu/intel/speedstep/Makefile.inc | 5 +++++ 16 files changed, 133 insertions(+) create mode 100644 src/cpu/intel/Kconfig create mode 100644 src/cpu/intel/Makefile.inc create mode 100644 src/cpu/intel/hyperthreading/Makefile.inc create mode 100644 src/cpu/intel/microcode/Makefile.inc create mode 100644 src/cpu/intel/model_69x/Makefile.inc create mode 100644 src/cpu/intel/model_6dx/Makefile.inc create mode 100644 src/cpu/intel/model_6ex/Kconfig create mode 100644 src/cpu/intel/model_6ex/Makefile.inc create mode 100644 src/cpu/intel/model_6fx/Kconfig create mode 100644 src/cpu/intel/model_6fx/Makefile.inc create mode 100644 src/cpu/intel/model_6xx/Makefile.inc create mode 100644 src/cpu/intel/socket_PGA370/Kconfig create mode 100644 src/cpu/intel/socket_PGA370/Makefile.inc create mode 100644 src/cpu/intel/socket_mFCPGA478/Kconfig create mode 100644 src/cpu/intel/socket_mFCPGA478/Makefile.inc create mode 100644 src/cpu/intel/speedstep/Makefile.inc (limited to 'src/cpu/intel') diff --git a/src/cpu/intel/Kconfig b/src/cpu/intel/Kconfig new file mode 100644 index 0000000000..87623a3843 --- /dev/null +++ b/src/cpu/intel/Kconfig @@ -0,0 +1,4 @@ +source src/cpu/intel/model_6ex/Kconfig +source src/cpu/intel/model_6fx/Kconfig +source src/cpu/intel/socket_mFCPGA478/Kconfig +source src/cpu/intel/socket_PGA370/Kconfig \ No newline at end of file diff --git a/src/cpu/intel/Makefile.inc b/src/cpu/intel/Makefile.inc new file mode 100644 index 0000000000..afe5cd3c79 --- /dev/null +++ b/src/cpu/intel/Makefile.inc @@ -0,0 +1,14 @@ +# Note: from here on down, we are socket-centric. Socket choice determines what other cpu files are included. +# Therefore: +# ONLY include Makefile.inc from socket directories! + +subdirs-y += speedstep +subdirs-y += socket_mFCPGA478 +subdirs-y += socket_PGA370 + +#socket_mPGA478 +#socket_mPGA479M +#socket_mPGA603 +#socket_mPGA604 +#socket_mPGA604_533Mhz +#socket_mPGA604_800Mhz diff --git a/src/cpu/intel/hyperthreading/Makefile.inc b/src/cpu/intel/hyperthreading/Makefile.inc new file mode 100644 index 0000000000..34cf8eee99 --- /dev/null +++ b/src/cpu/intel/hyperthreading/Makefile.inc @@ -0,0 +1 @@ +obj-y += intel_sibling.o diff --git a/src/cpu/intel/microcode/Makefile.inc b/src/cpu/intel/microcode/Makefile.inc new file mode 100644 index 0000000000..26513df8f7 --- /dev/null +++ b/src/cpu/intel/microcode/Makefile.inc @@ -0,0 +1 @@ +obj-y += microcode.o diff --git a/src/cpu/intel/model_69x/Makefile.inc b/src/cpu/intel/model_69x/Makefile.inc new file mode 100644 index 0000000000..4756e33787 --- /dev/null +++ b/src/cpu/intel/model_69x/Makefile.inc @@ -0,0 +1 @@ +driver-y += model_69x_init.o diff --git a/src/cpu/intel/model_6dx/Makefile.inc b/src/cpu/intel/model_6dx/Makefile.inc new file mode 100644 index 0000000000..bbadb50170 --- /dev/null +++ b/src/cpu/intel/model_6dx/Makefile.inc @@ -0,0 +1 @@ +driver-y += model_6dx_init.o diff --git a/src/cpu/intel/model_6ex/Kconfig b/src/cpu/intel/model_6ex/Kconfig new file mode 100644 index 0000000000..7d5e7692ef --- /dev/null +++ b/src/cpu/intel/model_6ex/Kconfig @@ -0,0 +1,4 @@ +config CPU_INTEL_CORE + bool + default n + select SMP diff --git a/src/cpu/intel/model_6ex/Makefile.inc b/src/cpu/intel/model_6ex/Makefile.inc new file mode 100644 index 0000000000..e4676ea0bf --- /dev/null +++ b/src/cpu/intel/model_6ex/Makefile.inc @@ -0,0 +1 @@ +driver-y += model_6ex_init.o diff --git a/src/cpu/intel/model_6fx/Kconfig b/src/cpu/intel/model_6fx/Kconfig new file mode 100644 index 0000000000..484114cf03 --- /dev/null +++ b/src/cpu/intel/model_6fx/Kconfig @@ -0,0 +1 @@ +# select HAVE_MOVNTI diff --git a/src/cpu/intel/model_6fx/Makefile.inc b/src/cpu/intel/model_6fx/Makefile.inc new file mode 100644 index 0000000000..4db78019cb --- /dev/null +++ b/src/cpu/intel/model_6fx/Makefile.inc @@ -0,0 +1 @@ +driver-y += model_6fx_init.o diff --git a/src/cpu/intel/model_6xx/Makefile.inc b/src/cpu/intel/model_6xx/Makefile.inc new file mode 100644 index 0000000000..a5956295d0 --- /dev/null +++ b/src/cpu/intel/model_6xx/Makefile.inc @@ -0,0 +1,22 @@ +## +## This file is part of the coreboot project. +## +## Copyright (C) 2009 Ron Minnich +## +## 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 +## + +obj-y += model_6xx_init.o + diff --git a/src/cpu/intel/socket_PGA370/Kconfig b/src/cpu/intel/socket_PGA370/Kconfig new file mode 100644 index 0000000000..d7098b060b --- /dev/null +++ b/src/cpu/intel/socket_PGA370/Kconfig @@ -0,0 +1,23 @@ +## +## 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 CPU_INTEL_SOCKET_PGA370 + bool + default false diff --git a/src/cpu/intel/socket_PGA370/Makefile.inc b/src/cpu/intel/socket_PGA370/Makefile.inc new file mode 100644 index 0000000000..46a851a3d5 --- /dev/null +++ b/src/cpu/intel/socket_PGA370/Makefile.inc @@ -0,0 +1,34 @@ +## +## 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 +## + +ifeq ($(CONFIG_CPU_INTEL_SOCKET_PGA370),y) + obj-y += socket_PGA370.o + subdirs-y += ../model_6xx + subdirs-y += ../../x86/tsc + subdirs-y += ../../x86/mtrr + subdirs-y += ../../x86/fpu + subdirs-y += ../../x86/mmx + subdirs-y += ../../x86/sse + subdirs-y += ../../x86/lapic + subdirs-y += ../../x86/cache + subdirs-y += ../../x86/smm + subdirs-y += ../microcode +endif + diff --git a/src/cpu/intel/socket_mFCPGA478/Kconfig b/src/cpu/intel/socket_mFCPGA478/Kconfig new file mode 100644 index 0000000000..0f01535ecd --- /dev/null +++ b/src/cpu/intel/socket_mFCPGA478/Kconfig @@ -0,0 +1,3 @@ +config CPU_INTEL_SOCKET_MFCPGA478 + bool + default false diff --git a/src/cpu/intel/socket_mFCPGA478/Makefile.inc b/src/cpu/intel/socket_mFCPGA478/Makefile.inc new file mode 100644 index 0000000000..808dd4ffd1 --- /dev/null +++ b/src/cpu/intel/socket_mFCPGA478/Makefile.inc @@ -0,0 +1,17 @@ +ifeq ($(CONFIG_CPU_INTEL_SOCKET_MFCPGA478),y) + obj-y += socket_mFCPGA478.o + subdirs-y += ../model_69x + subdirs-y += ../model_6dx + subdirs-y += ../model_6ex + subdirs-y += ../model_6fx + subdirs-y += ../../x86/tsc + subdirs-y += ../../x86/mtrr + subdirs-y += ../../x86/fpu + subdirs-y += ../../x86/mmx + subdirs-y += ../../x86/sse + subdirs-y += ../../x86/lapic + subdirs-y += ../../x86/cache + subdirs-y += ../../x86/smm + subdirs-y += ../microcode + subdirs-y += ../hyperthreading +endif diff --git a/src/cpu/intel/speedstep/Makefile.inc b/src/cpu/intel/speedstep/Makefile.inc new file mode 100644 index 0000000000..4351d68c21 --- /dev/null +++ b/src/cpu/intel/speedstep/Makefile.inc @@ -0,0 +1,5 @@ +ifeq ($(CONFIG_HAVE_ACPI_TABLES), y) +ifeq ($(CONFIG_CPU_INTEL_SOCKET_MFCPGA478), y) + obj-y += acpi.o +endif +endif -- cgit v1.2.3