cpu/amd: Add socket FM2

Change-Id: I397c908867fef7583063c8cad7b83ce53482529b
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Reviewed-on: https://review.coreboot.org/13708
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Damien Zammit 2016-02-10 13:59:21 +11:00 committed by Stefan Reinauer
parent 0362517d1c
commit ffc31d07f7
5 changed files with 45 additions and 0 deletions

View File

@ -5,6 +5,7 @@ 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_AM3/Kconfig source src/cpu/amd/socket_AM3/Kconfig
source src/cpu/amd/socket_C32/Kconfig source src/cpu/amd/socket_C32/Kconfig
source src/cpu/amd/socket_FM2/Kconfig
source src/cpu/amd/socket_G34/Kconfig source src/cpu/amd/socket_G34/Kconfig
source src/cpu/amd/socket_ASB2/Kconfig source src/cpu/amd/socket_ASB2/Kconfig
source src/cpu/amd/socket_F/Kconfig source src/cpu/amd/socket_F/Kconfig

View File

@ -8,6 +8,7 @@ subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2R2) += socket_AM2r2
subdirs-$(CONFIG_CPU_AMD_SOCKET_AM3) += socket_AM3 subdirs-$(CONFIG_CPU_AMD_SOCKET_AM3) += socket_AM3
subdirs-$(CONFIG_CPU_AMD_SOCKET_ASB2) += socket_ASB2 subdirs-$(CONFIG_CPU_AMD_SOCKET_ASB2) += socket_ASB2
subdirs-$(CONFIG_CPU_AMD_SOCKET_C32_NON_AGESA) += socket_C32 subdirs-$(CONFIG_CPU_AMD_SOCKET_C32_NON_AGESA) += socket_C32
subdirs-$(CONFIG_CPU_AMD_SOCKET_FM2_NON_AGESA) += socket_FM2
subdirs-$(CONFIG_CPU_AMD_SOCKET_G34_NON_AGESA) += socket_G34 subdirs-$(CONFIG_CPU_AMD_SOCKET_G34_NON_AGESA) += socket_G34
subdirs-$(CONFIG_CPU_AMD_GEODE_GX2) += geode_gx2 subdirs-$(CONFIG_CPU_AMD_GEODE_GX2) += geode_gx2
subdirs-$(CONFIG_CPU_AMD_GEODE_LX) += geode_lx subdirs-$(CONFIG_CPU_AMD_GEODE_LX) += geode_lx

View File

@ -18,6 +18,7 @@ if CPU_AMD_MODEL_10XXX
config USE_LARGE_DCACHE config USE_LARGE_DCACHE
bool bool
default y if CPU_AMD_SOCKET_G34_NON_AGESA default y if CPU_AMD_SOCKET_G34_NON_AGESA
default y if CPU_AMD_SOCKET_FM2_NON_AGESA
default y if CPU_AMD_SOCKET_C32_NON_AGESA default y if CPU_AMD_SOCKET_C32_NON_AGESA
default n default n

View File

@ -0,0 +1,29 @@
config CPU_AMD_SOCKET_FM2_NON_AGESA
bool
select CPU_AMD_MODEL_10XXX
select PCI_IO_CFG_EXT
select X86_AMD_FIXED_MTRRS
if CPU_AMD_SOCKET_FM2_NON_AGESA
config CPU_SOCKET_TYPE
hex
default 0x16
config EXT_RT_TBL_SUPPORT
bool
default n
config CBB
hex
default 0x0
config CDB
hex
default 0x18
config XIP_ROM_SIZE
hex
default 0x80000
endif

View File

@ -0,0 +1,13 @@
subdirs-y += ../family_10h-family_15h
subdirs-y += ../quadcore
subdirs-y += ../mtrr
subdirs-y += ../microcode
subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/lapic
subdirs-y += ../../x86/cache
subdirs-y += ../../x86/pae
subdirs-y += ../../x86/mtrr
subdirs-y += ../../x86/smm
subdirs-y += ../smm
cpu_incs-y += $(src)/cpu/amd/car/cache_as_ram.inc