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
This commit is contained in:
Myles Watson 2009-08-24 16:51:27 +00:00
parent 0696bca90a
commit fa9f12ef75
6 changed files with 46 additions and 2 deletions

View File

@ -1,8 +1,10 @@
#source src/cpu/amd/socket_754/Kconfig #source src/cpu/amd/socket_754/Kconfig
#source src/cpu/amd/socket_939/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_AM2/Kconfig
#source src/cpu/amd/socket_AM2r2/Kconfig #source src/cpu/amd/socket_AM2r2/Kconfig
source src/cpu/amd/socket_F/Kconfig source src/cpu/amd/socket_F/Kconfig
#source src/cpu/amd/socket_F_1207/Kconfig #source src/cpu/amd/socket_F_1207/Kconfig
#source src/cpu/amd/socket_S1G1/Kconfig #source src/cpu/amd/socket_S1G1/Kconfig
source src/cpu/amd/model_fxx/Kconfig

View File

@ -1 +1,2 @@
subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F
subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += socket_AM2

View File

@ -0,0 +1 @@
obj-y += microcode.o

View File

@ -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

View File

@ -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

View File

@ -29,4 +29,3 @@ config CPU_SOCKET_TYPE
default 0x10 default 0x10
depends on CPU_AMD_SOCKET_F depends on CPU_AMD_SOCKET_F
source src/cpu/amd/model_fxx/Kconfig