summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/amd/Kconfig2
-rw-r--r--src/cpu/amd/Makefile.inc1
-rw-r--r--src/cpu/amd/model_fxx/Makefile.inc13
-rw-r--r--src/cpu/amd/socket_940/Kconfig14
-rw-r--r--src/cpu/amd/socket_940/Makefile.inc2
-rw-r--r--src/cpu/amd/socket_AM2/Kconfig4
-rw-r--r--src/cpu/amd/socket_AM2/Makefile.inc13
-rw-r--r--src/cpu/amd/socket_F/Kconfig4
-rw-r--r--src/cpu/amd/socket_F/Makefile.inc12
9 files changed, 35 insertions, 30 deletions
diff --git a/src/cpu/amd/Kconfig b/src/cpu/amd/Kconfig
index 2cd1761acb..f1f6f511a7 100644
--- a/src/cpu/amd/Kconfig
+++ b/src/cpu/amd/Kconfig
@@ -1,6 +1,6 @@
#source src/cpu/amd/socket_754/Kconfig
#source src/cpu/amd/socket_939/Kconfig
-#source src/cpu/amd/socket_940/Kconfig
+source src/cpu/amd/socket_940/Kconfig
source src/cpu/amd/socket_AM2/Kconfig
#source src/cpu/amd/socket_AM2r2/Kconfig
source src/cpu/amd/socket_F/Kconfig
diff --git a/src/cpu/amd/Makefile.inc b/src/cpu/amd/Makefile.inc
index 578de4f732..18a52f4062 100644
--- a/src/cpu/amd/Makefile.inc
+++ b/src/cpu/amd/Makefile.inc
@@ -1,2 +1,3 @@
subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F
+subdirs-$(CONFIG_CPU_AMD_SOCKET_940) += socket_940
subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += socket_AM2
diff --git a/src/cpu/amd/model_fxx/Makefile.inc b/src/cpu/amd/model_fxx/Makefile.inc
index ea3088b46a..c184df9674 100644
--- a/src/cpu/amd/model_fxx/Makefile.inc
+++ b/src/cpu/amd/model_fxx/Makefile.inc
@@ -4,3 +4,16 @@ obj-y += apic_timer.o
obj-y += model_fxx_update_microcode.o
obj-y += processor_name.o
obj-y += powernow_acpi.o
+subdirs-y += ../dualcore
+subdirs-y += ../mtrr
+subdirs-y += ../microcode
+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/mtrr
+subdirs-y += ../../x86/pae
+subdirs-y += ../../x86/smm
diff --git a/src/cpu/amd/socket_940/Kconfig b/src/cpu/amd/socket_940/Kconfig
new file mode 100644
index 0000000000..d00f388287
--- /dev/null
+++ b/src/cpu/amd/socket_940/Kconfig
@@ -0,0 +1,14 @@
+config CPU_AMD_SOCKET_940
+ bool
+ default false
+
+config K8_REV_F_SUPPORT
+ bool
+ default n
+ depends on CPU_AMD_SOCKET_940
+
+#Opteron K8 1G HT Support
+config K8_HT_FREQ_1G_SUPPORT
+ hex
+ default 1
+ depends on CPU_AMD_SOCKET_940
diff --git a/src/cpu/amd/socket_940/Makefile.inc b/src/cpu/amd/socket_940/Makefile.inc
new file mode 100644
index 0000000000..cd7caf3ade
--- /dev/null
+++ b/src/cpu/amd/socket_940/Makefile.inc
@@ -0,0 +1,2 @@
+obj-y += socket_940.o
+subdirs-y += ../model_fxx
diff --git a/src/cpu/amd/socket_AM2/Kconfig b/src/cpu/amd/socket_AM2/Kconfig
index 6b61131fa2..257bbc8095 100644
--- a/src/cpu/amd/socket_AM2/Kconfig
+++ b/src/cpu/amd/socket_AM2/Kconfig
@@ -8,8 +8,8 @@ config CPU_SOCKET_TYPE
depends on CPU_AMD_SOCKET_AM2
config K8_REV_F_SUPPORT
- hex
- default 1
+ bool
+ default y
depends on CPU_AMD_SOCKET_AM2
# Opteron K8 1G HT support
diff --git a/src/cpu/amd/socket_AM2/Makefile.inc b/src/cpu/amd/socket_AM2/Makefile.inc
index b5d8059fd4..358923eb1e 100644
--- a/src/cpu/amd/socket_AM2/Makefile.inc
+++ b/src/cpu/amd/socket_AM2/Makefile.inc
@@ -1,15 +1,2 @@
obj-y += socket_AM2.o
subdirs-y += ../model_fxx
-subdirs-y += ../dualcore
-subdirs-y += ../mtrr
-subdirs-y += ../microcode
-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/mtrr
-subdirs-y += ../../x86/pae
-subdirs-y += ../../x86/smm
diff --git a/src/cpu/amd/socket_F/Kconfig b/src/cpu/amd/socket_F/Kconfig
index f9e03359e0..dd38a661c4 100644
--- a/src/cpu/amd/socket_F/Kconfig
+++ b/src/cpu/amd/socket_F/Kconfig
@@ -8,8 +8,8 @@ config CPU_SOCKET_TYPE
depends on CPU_AMD_SOCKET_F
config K8_REV_F_SUPPORT
- hex
- default 1
+ bool
+ default y
depends on CPU_AMD_SOCKET_F
# Opteron K8 1G HT support
diff --git a/src/cpu/amd/socket_F/Makefile.inc b/src/cpu/amd/socket_F/Makefile.inc
index a3be24c151..0c05fd5b24 100644
--- a/src/cpu/amd/socket_F/Makefile.inc
+++ b/src/cpu/amd/socket_F/Makefile.inc
@@ -1,14 +1,2 @@
obj-y += socket_F.o
subdirs-y += ../model_fxx
-subdirs-y += ../dualcore
-subdirs-y += ../mtrr
-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/mtrr
-subdirs-y += ../../x86/pae
-subdirs-y += ../../x86/smm