diff options
Diffstat (limited to 'src/cpu')
32 files changed, 185 insertions, 26 deletions
diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig index e70f021217..3d23f0c3db 100644 --- a/src/cpu/Kconfig +++ b/src/cpu/Kconfig @@ -17,6 +17,10 @@ config DCACHE_RAM_SIZE hex default 0x8000 if CPU_INTEL_CORE +config DCACHE_RAM_GLOBAL_VAR_SIZE + hex + default 0 + config SMP bool default y if MAX_CPUS != 1 diff --git a/src/cpu/intel/Kconfig b/src/cpu/intel/Kconfig index c20789761b..768a823c91 100644 --- a/src/cpu/intel/Kconfig +++ b/src/cpu/intel/Kconfig @@ -1,5 +1,15 @@ +source src/cpu/intel/model_69x/Kconfig +source src/cpu/intel/model_6dx/Kconfig source src/cpu/intel/model_6ex/Kconfig source src/cpu/intel/model_6fx/Kconfig +source src/cpu/intel/model_1067x/Kconfig + +source src/cpu/intel/bga956/Kconfig +source src/cpu/intel/ep80579/Kconfig +source src/cpu/intel/slot_2/Kconfig source src/cpu/intel/socket_mFCPGA478/Kconfig +source src/cpu/intel/socket_mPGA478/Kconfig +source src/cpu/intel/socket_mPGA479M/Kconfig +#source src/cpu/intel/socket_mPGA603/Kconfig +source src/cpu/intel/socket_mPGA604/Kconfig source src/cpu/intel/socket_PGA370/Kconfig -source src/cpu/intel/slot_2/Kconfig diff --git a/src/cpu/intel/Makefile.inc b/src/cpu/intel/Makefile.inc index 3437eecfbc..7f8874fe27 100644 --- a/src/cpu/intel/Makefile.inc +++ b/src/cpu/intel/Makefile.inc @@ -3,13 +3,15 @@ # # Therefore: ONLY include Makefile.inc from socket directories! +subdirs-$(CONFIG_CPU_INTEL_SOCKET_BGA956) += bga956 +subdirs-$(CONFIG_CPU_INTEL_EP80579) += ep80579 subdirs-$(CONFIG_CPU_INTEL_SOCKET_MFCPGA478) += socket_mFCPGA478 +subdirs-$(CONFIG_CPU_INTEL_SOCKET_MPGA478) += socket_mPGA478 +subdirs-$(CONFIG_CPU_INTEL_SOCKET_MPGA479M) += socket_mPGA479M +subdirs-$(CONFIG_CPU_INTEL_SOCKET_MPGA603) += socket_mPGA603 +subdirs-$(CONFIG_CPU_INTEL_SOCKET_MPGA604) += socket_mPGA604 subdirs-$(CONFIG_CPU_INTEL_SOCKET_PGA370) += socket_PGA370 subdirs-$(CONFIG_CPU_INTEL_SLOT_2) += slot_2 -#socket_mPGA478 -#socket_mPGA479M -#socket_mPGA603 -#socket_mPGA604 #socket_mPGA604_533Mhz #socket_mPGA604_800Mhz diff --git a/src/cpu/intel/bga956/Kconfig b/src/cpu/intel/bga956/Kconfig new file mode 100644 index 0000000000..bdcc8baf00 --- /dev/null +++ b/src/cpu/intel/bga956/Kconfig @@ -0,0 +1,4 @@ +config CPU_INTEL_SOCKET_BGA956 + bool + default n + select CPU_INTEL_CORE2 diff --git a/src/cpu/intel/bga956/Makefile.inc b/src/cpu/intel/bga956/Makefile.inc new file mode 100644 index 0000000000..f0b134b45f --- /dev/null +++ b/src/cpu/intel/bga956/Makefile.inc @@ -0,0 +1,13 @@ +obj-y += bga956.o +subdirs-y += ../model_1067x +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 + diff --git a/src/cpu/intel/ep80579/Kconfig b/src/cpu/intel/ep80579/Kconfig new file mode 100644 index 0000000000..213ce8c7f0 --- /dev/null +++ b/src/cpu/intel/ep80579/Kconfig @@ -0,0 +1,3 @@ +config CPU_INTEL_EP80579 + bool + default false diff --git a/src/cpu/intel/ep80579/Makefile.inc b/src/cpu/intel/ep80579/Makefile.inc new file mode 100644 index 0000000000..d1edc9455c --- /dev/null +++ b/src/cpu/intel/ep80579/Makefile.inc @@ -0,0 +1,12 @@ +obj-y += ep80579.o +driver-y += ep80579_init.o +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 + diff --git a/src/cpu/intel/model_1067x/Kconfig b/src/cpu/intel/model_1067x/Kconfig new file mode 100644 index 0000000000..55b5eb737b --- /dev/null +++ b/src/cpu/intel/model_1067x/Kconfig @@ -0,0 +1,5 @@ +config CPU_INTEL_CORE2 + bool + default y + select SMP + select HAVE_MOVNTI diff --git a/src/cpu/intel/model_1067x/Makefile.inc b/src/cpu/intel/model_1067x/Makefile.inc new file mode 100644 index 0000000000..085423389d --- /dev/null +++ b/src/cpu/intel/model_1067x/Makefile.inc @@ -0,0 +1 @@ +driver-y += model_1067x_init.o diff --git a/src/cpu/intel/model_69x/Kconfig b/src/cpu/intel/model_69x/Kconfig new file mode 100644 index 0000000000..4a7560c3a2 --- /dev/null +++ b/src/cpu/intel/model_69x/Kconfig @@ -0,0 +1,4 @@ +config CPU_INTEL_MODEL_69X + bool + default n + select SMP diff --git a/src/cpu/intel/model_6dx/Kconfig b/src/cpu/intel/model_6dx/Kconfig new file mode 100644 index 0000000000..099688b3b5 --- /dev/null +++ b/src/cpu/intel/model_6dx/Kconfig @@ -0,0 +1,4 @@ +config CPU_INTEL_MODEL_6DX + bool + default n + select SMP diff --git a/src/cpu/intel/model_6xx/Kconfig b/src/cpu/intel/model_6xx/Kconfig new file mode 100644 index 0000000000..14789bea65 --- /dev/null +++ b/src/cpu/intel/model_6xx/Kconfig @@ -0,0 +1,4 @@ +config CPU_INTEL_MODEL_6XX + bool + default n + select SMP diff --git a/src/cpu/intel/model_6xx/Makefile.inc b/src/cpu/intel/model_6xx/Makefile.inc index b36e601495..ddbb7a5d8b 100644 --- a/src/cpu/intel/model_6xx/Makefile.inc +++ b/src/cpu/intel/model_6xx/Makefile.inc @@ -1,22 +1 @@ -## -## 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 -## - driver-y += model_6xx_init.o - diff --git a/src/cpu/intel/model_f0x/Kconfig b/src/cpu/intel/model_f0x/Kconfig new file mode 100644 index 0000000000..3cf574b0ca --- /dev/null +++ b/src/cpu/intel/model_f0x/Kconfig @@ -0,0 +1,5 @@ +config CPU_INTEL_MODEL_F0X + bool + default n + select SMP + select HAVE_MOVNTI diff --git a/src/cpu/intel/model_f0x/Makefile.inc b/src/cpu/intel/model_f0x/Makefile.inc new file mode 100644 index 0000000000..0a19a21aba --- /dev/null +++ b/src/cpu/intel/model_f0x/Makefile.inc @@ -0,0 +1 @@ +driver-y += model_f0x_init.o diff --git a/src/cpu/intel/model_f1x/Kconfig b/src/cpu/intel/model_f1x/Kconfig new file mode 100644 index 0000000000..7fcd34f22a --- /dev/null +++ b/src/cpu/intel/model_f1x/Kconfig @@ -0,0 +1,5 @@ +config CPU_INTEL_MODEL_F1X + bool + default n + select SMP + select HAVE_MOVNTI diff --git a/src/cpu/intel/model_f1x/Makefile.inc b/src/cpu/intel/model_f1x/Makefile.inc new file mode 100644 index 0000000000..14c62b6983 --- /dev/null +++ b/src/cpu/intel/model_f1x/Makefile.inc @@ -0,0 +1 @@ +driver-y += model_f1x_init.o diff --git a/src/cpu/intel/model_f2x/Kconfig b/src/cpu/intel/model_f2x/Kconfig new file mode 100644 index 0000000000..86445480cf --- /dev/null +++ b/src/cpu/intel/model_f2x/Kconfig @@ -0,0 +1,5 @@ +config CPU_INTEL_MODEL_F2X + bool + default n + select SMP + select HAVE_MOVNTI diff --git a/src/cpu/intel/model_f2x/Makefile.inc b/src/cpu/intel/model_f2x/Makefile.inc new file mode 100644 index 0000000000..f83605675d --- /dev/null +++ b/src/cpu/intel/model_f2x/Makefile.inc @@ -0,0 +1 @@ +driver-y += model_f2x_init.o diff --git a/src/cpu/intel/model_f3x/Kconfig b/src/cpu/intel/model_f3x/Kconfig new file mode 100644 index 0000000000..da02783085 --- /dev/null +++ b/src/cpu/intel/model_f3x/Kconfig @@ -0,0 +1,5 @@ +config CPU_INTEL_MODEL_F3X + bool + default n + select SMP + select HAVE_MOVNTI diff --git a/src/cpu/intel/model_f3x/Makefile.inc b/src/cpu/intel/model_f3x/Makefile.inc new file mode 100644 index 0000000000..13dda61538 --- /dev/null +++ b/src/cpu/intel/model_f3x/Makefile.inc @@ -0,0 +1 @@ +driver-y += model_f3x_init.o diff --git a/src/cpu/intel/model_f4x/Kconfig b/src/cpu/intel/model_f4x/Kconfig new file mode 100644 index 0000000000..d9f9c96c65 --- /dev/null +++ b/src/cpu/intel/model_f4x/Kconfig @@ -0,0 +1,5 @@ +config CPU_INTEL_MODEL_F4X + bool + default n + select SMP + select HAVE_MOVNTI diff --git a/src/cpu/intel/model_f4x/Makefile.inc b/src/cpu/intel/model_f4x/Makefile.inc new file mode 100644 index 0000000000..7e50d29122 --- /dev/null +++ b/src/cpu/intel/model_f4x/Makefile.inc @@ -0,0 +1 @@ +driver-y += model_f4x_init.o diff --git a/src/cpu/intel/socket_mPGA478/Kconfig b/src/cpu/intel/socket_mPGA478/Kconfig new file mode 100644 index 0000000000..e16d51efd3 --- /dev/null +++ b/src/cpu/intel/socket_mPGA478/Kconfig @@ -0,0 +1,5 @@ +config CPU_INTEL_SOCKET_MPGA478 + bool + default false + select CPU_INTEL_MODEL_69X + select CPU_INTEL_MODEL_6DX diff --git a/src/cpu/intel/socket_mPGA478/Makefile.inc b/src/cpu/intel/socket_mPGA478/Makefile.inc new file mode 100644 index 0000000000..1c72b4b007 --- /dev/null +++ b/src/cpu/intel/socket_mPGA478/Makefile.inc @@ -0,0 +1,14 @@ +obj-y += socket_mPGA478.o +subdirs-y += ../model_69x +subdirs-y += ../model_6dx +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 + diff --git a/src/cpu/intel/socket_mPGA479M/Kconfig b/src/cpu/intel/socket_mPGA479M/Kconfig new file mode 100644 index 0000000000..ca2113e915 --- /dev/null +++ b/src/cpu/intel/socket_mPGA479M/Kconfig @@ -0,0 +1,5 @@ +config CPU_INTEL_SOCKET_MPGA479M + bool + default false + select CPU_INTEL_MODEL_69X + select CPU_INTEL_MODEL_6DX diff --git a/src/cpu/intel/socket_mPGA479M/Makefile.inc b/src/cpu/intel/socket_mPGA479M/Makefile.inc new file mode 100644 index 0000000000..bcc9db07e2 --- /dev/null +++ b/src/cpu/intel/socket_mPGA479M/Makefile.inc @@ -0,0 +1,14 @@ +obj-y += socket_mPGA479M.o +subdirs-y += ../model_69x +subdirs-y += ../model_6dx +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 + diff --git a/src/cpu/intel/socket_mPGA603/Kconfig b/src/cpu/intel/socket_mPGA603/Kconfig new file mode 100644 index 0000000000..460f3c59eb --- /dev/null +++ b/src/cpu/intel/socket_mPGA603/Kconfig @@ -0,0 +1,6 @@ +config CPU_INTEL_SOCKET_MPGA603 + bool + default false + select CPU_INTEL_MODEL_F0X + select CPU_INTEL_MODEL_F1X + select CPU_INTEL_MODEL_F2X diff --git a/src/cpu/intel/socket_mPGA603/Makefile.inc b/src/cpu/intel/socket_mPGA603/Makefile.inc new file mode 100644 index 0000000000..69d331df43 --- /dev/null +++ b/src/cpu/intel/socket_mPGA603/Makefile.inc @@ -0,0 +1,15 @@ +obj-y += socket_mPGA603_400Mhz.o +subdirs-y += ../model_f0x +subdirs-y += ../model_f1x +subdirs-y += ../model_f2x +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 + diff --git a/src/cpu/intel/socket_mPGA604/Kconfig b/src/cpu/intel/socket_mPGA604/Kconfig new file mode 100644 index 0000000000..445ffeb13f --- /dev/null +++ b/src/cpu/intel/socket_mPGA604/Kconfig @@ -0,0 +1,6 @@ +config CPU_INTEL_SOCKET_MPGA604 + bool + default false + select CPU_INTEL_MODEL_F2X + select CPU_INTEL_MODEL_F3X + select CPU_INTEL_MODEL_F4X diff --git a/src/cpu/intel/socket_mPGA604/Makefile.inc b/src/cpu/intel/socket_mPGA604/Makefile.inc new file mode 100644 index 0000000000..1a739bde7e --- /dev/null +++ b/src/cpu/intel/socket_mPGA604/Makefile.inc @@ -0,0 +1,15 @@ +obj-y += socket_mPGA604.o +subdirs-y += ../model_f2x +subdirs-y += ../model_f3x +subdirs-y += ../model_f4x +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 + diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig index c4ee9fa271..b6ae9967e5 100644 --- a/src/cpu/x86/Kconfig +++ b/src/cpu/x86/Kconfig @@ -2,6 +2,10 @@ config SERIAL_CPU_INIT bool default y +config WAIT_BEFORE_CPUS_INIT + bool + default n + config UDELAY_TSC bool default n |