diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-08-24 16:51:27 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-08-24 16:51:27 +0000 |
commit | fa9f12ef7579aa09f64997c419c21108d5dfe385 (patch) | |
tree | 3ce609715f4b6654d49162a1e10bf4535ef06093 | |
parent | 0696bca90a07e9814ba61443f6dd5dc3265fa9df (diff) | |
download | coreboot-fa9f12ef7579aa09f64997c419c21108d5dfe385.tar.xz |
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
-rw-r--r-- | src/cpu/amd/Kconfig | 4 | ||||
-rw-r--r-- | src/cpu/amd/Makefile.inc | 1 | ||||
-rw-r--r-- | src/cpu/amd/microcode/Makefile.inc | 1 | ||||
-rw-r--r-- | src/cpu/amd/socket_AM2/Kconfig | 26 | ||||
-rw-r--r-- | src/cpu/amd/socket_AM2/Makefile.inc | 15 | ||||
-rw-r--r-- | src/cpu/amd/socket_F/Kconfig | 1 |
6 files changed, 46 insertions, 2 deletions
diff --git a/src/cpu/amd/Kconfig b/src/cpu/amd/Kconfig index cec49160da..2cd1761acb 100644 --- a/src/cpu/amd/Kconfig +++ b/src/cpu/amd/Kconfig @@ -1,8 +1,10 @@ #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_AM2/Kconfig +source src/cpu/amd/socket_AM2/Kconfig #source src/cpu/amd/socket_AM2r2/Kconfig source src/cpu/amd/socket_F/Kconfig #source src/cpu/amd/socket_F_1207/Kconfig #source src/cpu/amd/socket_S1G1/Kconfig + +source src/cpu/amd/model_fxx/Kconfig diff --git a/src/cpu/amd/Makefile.inc b/src/cpu/amd/Makefile.inc index c63bc2bb86..578de4f732 100644 --- a/src/cpu/amd/Makefile.inc +++ b/src/cpu/amd/Makefile.inc @@ -1 +1,2 @@ subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += socket_AM2 diff --git a/src/cpu/amd/microcode/Makefile.inc b/src/cpu/amd/microcode/Makefile.inc new file mode 100644 index 0000000000..26513df8f7 --- /dev/null +++ b/src/cpu/amd/microcode/Makefile.inc @@ -0,0 +1 @@ +obj-y += microcode.o 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 diff --git a/src/cpu/amd/socket_F/Kconfig b/src/cpu/amd/socket_F/Kconfig index c933400398..30e90807b6 100644 --- a/src/cpu/amd/socket_F/Kconfig +++ b/src/cpu/amd/socket_F/Kconfig @@ -29,4 +29,3 @@ config CPU_SOCKET_TYPE default 0x10 depends on CPU_AMD_SOCKET_F -source src/cpu/amd/model_fxx/Kconfig |