summaryrefslogtreecommitdiff
path: root/src/cpu/amd/socket_FM2
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2016-02-10 13:59:21 +1100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-02-18 01:29:17 +0100
commitffc31d07f7839fa72073aae4ddbbd025ac4a7bac (patch)
tree810716f2e333a21bfd3b6dfccb7699d5b7d0beef /src/cpu/amd/socket_FM2
parent0362517d1cc1d25a422ba9ab111382c7fe538fed (diff)
downloadcoreboot-ffc31d07f7839fa72073aae4ddbbd025ac4a7bac.tar.xz
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>
Diffstat (limited to 'src/cpu/amd/socket_FM2')
-rw-r--r--src/cpu/amd/socket_FM2/Kconfig29
-rw-r--r--src/cpu/amd/socket_FM2/Makefile.inc13
2 files changed, 42 insertions, 0 deletions
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