summaryrefslogtreecommitdiff
path: root/src/cpu/intel
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/cpu/intel
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/cpu/intel')
-rw-r--r--src/cpu/intel/Kconfig4
-rw-r--r--src/cpu/intel/Makefile.inc14
-rw-r--r--src/cpu/intel/hyperthreading/Makefile.inc1
-rw-r--r--src/cpu/intel/microcode/Makefile.inc1
-rw-r--r--src/cpu/intel/model_69x/Makefile.inc1
-rw-r--r--src/cpu/intel/model_6dx/Makefile.inc1
-rw-r--r--src/cpu/intel/model_6ex/Kconfig4
-rw-r--r--src/cpu/intel/model_6ex/Makefile.inc1
-rw-r--r--src/cpu/intel/model_6fx/Kconfig1
-rw-r--r--src/cpu/intel/model_6fx/Makefile.inc1
-rw-r--r--src/cpu/intel/model_6xx/Makefile.inc22
-rw-r--r--src/cpu/intel/socket_PGA370/Kconfig23
-rw-r--r--src/cpu/intel/socket_PGA370/Makefile.inc34
-rw-r--r--src/cpu/intel/socket_mFCPGA478/Kconfig3
-rw-r--r--src/cpu/intel/socket_mFCPGA478/Makefile.inc17
-rw-r--r--src/cpu/intel/speedstep/Makefile.inc5
16 files changed, 133 insertions, 0 deletions
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 <rminnich@gmail.com>
+##
+## 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 <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 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 <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
+##
+
+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