Fix up typo in Socket 441 CPUs, and add a few (trivial) Kconfig files for them.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4908 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/cpu/intel/Kconfig b/src/cpu/intel/Kconfig
index 768a823..54d9c15 100644
--- a/src/cpu/intel/Kconfig
+++ b/src/cpu/intel/Kconfig
@@ -3,6 +3,7 @@
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/model_106cx/Kconfig
source src/cpu/intel/bga956/Kconfig
source src/cpu/intel/ep80579/Kconfig
@@ -13,3 +14,4 @@
#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/socket_441/Kconfig
diff --git a/src/cpu/intel/model_106cx/Config.lb b/src/cpu/intel/model_106cx/Config.lb
index c644d4f..1df2919 100644
--- a/src/cpu/intel/model_106cx/Config.lb
+++ b/src/cpu/intel/model_106cx/Config.lb
@@ -28,4 +28,4 @@
dir /cpu/intel/microcode
dir /cpu/intel/hyperthreading
dir /cpu/intel/speedstep
-driver model_6cx_init.o
+driver model_106cx_init.o
diff --git a/src/cpu/intel/model_106cx/Kconfig b/src/cpu/intel/model_106cx/Kconfig
new file mode 100644
index 0000000..01a4f2a
--- /dev/null
+++ b/src/cpu/intel/model_106cx/Kconfig
@@ -0,0 +1,3 @@
+config CPU_INTEL_ATOM_230
+ bool
+ select SMP
diff --git a/src/cpu/intel/model_106cx/Makefile.inc b/src/cpu/intel/model_106cx/Makefile.inc
new file mode 100644
index 0000000..a943f73
--- /dev/null
+++ b/src/cpu/intel/model_106cx/Makefile.inc
@@ -0,0 +1 @@
+driver-y += model_106cx_init.o
diff --git a/src/cpu/intel/model_106cx/model_6cx_init.c b/src/cpu/intel/model_106cx/model_106cx_init.c
similarity index 95%
rename from src/cpu/intel/model_106cx/model_6cx_init.c
rename to src/cpu/intel/model_106cx/model_106cx_init.c
index ffa1b87..799d757 100644
--- a/src/cpu/intel/model_106cx/model_6cx_init.c
+++ b/src/cpu/intel/model_106cx/model_106cx_init.c
@@ -159,7 +159,7 @@
static unsigned ehci_debug_addr;
#endif
-static void model_6ex_init(device_t cpu)
+static void model_106cx_init(device_t cpu)
{
char processor_name[49];
@@ -207,13 +207,11 @@
}
static struct device_operations cpu_dev_ops = {
- .init = model_6ex_init,
+ .init = model_106cx_init,
};
static struct cpu_device_id cpu_table[] = {
- { X86_VENDOR_INTEL, 0x06e0 }, /* Intel Core Solo/Core Duo */
- { X86_VENDOR_INTEL, 0x06e8 }, /* Intel Core Solo/Core Duo */
- { X86_VENDOR_INTEL, 0x06ec }, /* Intel Core Solo/Core Duo */
+ { X86_VENDOR_INTEL, 0x106c0 }, /* Intel Atom 230 */
{ 0, 0 },
};
diff --git a/src/cpu/intel/socket_441/Kconfig b/src/cpu/intel/socket_441/Kconfig
new file mode 100644
index 0000000..76cbb1f
--- /dev/null
+++ b/src/cpu/intel/socket_441/Kconfig
@@ -0,0 +1,5 @@
+config CPU_INTEL_SOCKET_441
+ bool
+ select CPU_INTEL_MODEL_106CX
+ select MMX
+ select SSE
diff --git a/src/cpu/intel/socket_441/Makefile.inc b/src/cpu/intel/socket_441/Makefile.inc
new file mode 100644
index 0000000..4c8f65e
--- /dev/null
+++ b/src/cpu/intel/socket_441/Makefile.inc
@@ -0,0 +1,10 @@
+obj-y += socket_441.o
+subdirs-y += ../model_106cx
+subdirs-y += ../../x86/tsc
+subdirs-y += ../../x86/mtrr
+subdirs-y += ../../x86/lapic
+subdirs-y += ../../x86/cache
+subdirs-y += ../../x86/smm
+subdirs-y += ../microcode
+subdirs-y += ../hyperthreading
+