summaryrefslogtreecommitdiff
path: root/src/cpu/amd/socket_AM2
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-08-24 16:51:27 +0000
committerMyles Watson <mylesgw@gmail.com>2009-08-24 16:51:27 +0000
commitfa9f12ef7579aa09f64997c419c21108d5dfe385 (patch)
tree3ce609715f4b6654d49162a1e10bf4535ef06093 /src/cpu/amd/socket_AM2
parent0696bca90a07e9814ba61443f6dd5dc3265fa9df (diff)
Add support for AM2 CPUs (I fixed the 0x11 issue).
Signed-off by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4565 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/socket_AM2')
-rw-r--r--src/cpu/amd/socket_AM2/Kconfig26
-rw-r--r--src/cpu/amd/socket_AM2/Makefile.inc15
2 files changed, 41 insertions, 0 deletions
diff --git a/src/cpu/amd/socket_AM2/Kconfig b/src/cpu/amd/socket_AM2/Kconfig
new file mode 100644
index 0000000000..d3afbab3a4
--- /dev/null
+++ b/src/cpu/amd/socket_AM2/Kconfig
@@ -0,0 +1,26 @@
+config CPU_AMD_SOCKET_AM2
+ bool
+ default false
+
+config CPU_SOCKET_TYPE
+ hex
+ default 0x11
+ depends on CPU_AMD_SOCKET_AM2
+
+config K8_REV_F_SUPPORT
+ hex
+ default 1
+ depends on CPU_AMD_SOCKET_AM2
+
+#Opteron K8 1G HT Support
+config K8_HT_FREQ_1G_SUPPORT
+ hex
+ default 1
+ depends on CPU_AMD_SOCKET_AM2
+
+#DDR2 and REG
+config DIMM_SUPPORT
+ hex
+ default 0x0004
+ depends on CPU_AMD_SOCKET_AM2
+
diff --git a/src/cpu/amd/socket_AM2/Makefile.inc b/src/cpu/amd/socket_AM2/Makefile.inc
new file mode 100644
index 0000000000..b5d8059fd4
--- /dev/null
+++ b/src/cpu/amd/socket_AM2/Makefile.inc
@@ -0,0 +1,15 @@
+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