diff options
author | Damien Zammit <damien@zamaudio.com> | 2016-02-10 13:59:21 +1100 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-02-18 01:29:17 +0100 |
commit | ffc31d07f7839fa72073aae4ddbbd025ac4a7bac (patch) | |
tree | 810716f2e333a21bfd3b6dfccb7699d5b7d0beef | |
parent | 0362517d1cc1d25a422ba9ab111382c7fe538fed (diff) |
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>
-rw-r--r-- | src/cpu/amd/Kconfig | 1 | ||||
-rw-r--r-- | src/cpu/amd/Makefile.inc | 1 | ||||
-rw-r--r-- | src/cpu/amd/family_10h-family_15h/Kconfig | 1 | ||||
-rw-r--r-- | src/cpu/amd/socket_FM2/Kconfig | 29 | ||||
-rw-r--r-- | src/cpu/amd/socket_FM2/Makefile.inc | 13 |
5 files changed, 45 insertions, 0 deletions
diff --git a/src/cpu/amd/Kconfig b/src/cpu/amd/Kconfig index 8abc98432e..23e4debc5d 100644 --- a/src/cpu/amd/Kconfig +++ b/src/cpu/amd/Kconfig @@ -5,6 +5,7 @@ source src/cpu/amd/socket_AM2/Kconfig source src/cpu/amd/socket_AM2r2/Kconfig source src/cpu/amd/socket_AM3/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_ASB2/Kconfig source src/cpu/amd/socket_F/Kconfig diff --git a/src/cpu/amd/Makefile.inc b/src/cpu/amd/Makefile.inc index e532abab7d..da6862de1d 100644 --- a/src/cpu/amd/Makefile.inc +++ b/src/cpu/amd/Makefile.inc @@ -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_ASB2) += socket_ASB2 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_GEODE_GX2) += geode_gx2 subdirs-$(CONFIG_CPU_AMD_GEODE_LX) += geode_lx diff --git a/src/cpu/amd/family_10h-family_15h/Kconfig b/src/cpu/amd/family_10h-family_15h/Kconfig index 2f3dfc0ace..14ab1cd770 100644 --- a/src/cpu/amd/family_10h-family_15h/Kconfig +++ b/src/cpu/amd/family_10h-family_15h/Kconfig @@ -18,6 +18,7 @@ if CPU_AMD_MODEL_10XXX config USE_LARGE_DCACHE bool 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 n diff --git a/src/cpu/amd/socket_FM2/Kconfig b/src/cpu/amd/socket_FM2/Kconfig new file mode 100644 index 0000000000..a87694a137 --- /dev/null +++ b/src/cpu/amd/socket_FM2/Kconfig @@ -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 diff --git a/src/cpu/amd/socket_FM2/Makefile.inc b/src/cpu/amd/socket_FM2/Makefile.inc new file mode 100644 index 0000000000..6917441967 --- /dev/null +++ b/src/cpu/amd/socket_FM2/Makefile.inc @@ -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 |