Marty Plummer (ntzrmtthihu777@gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17668
-gerrit
commit d86864f3b79e5c4fb65fee22d1b40cd66270affd Author: Marty Plummer ntzrmtthihu777@gmail.com Date: Thu Dec 1 01:58:47 2016 -0600
src/cpu/amd: Add socket AM3+ support
Pretty much a clone of src/cpu/amd/socket_AM3 for the sake of explicit distinction between AM3/AM3+ mobos. Checked against src/cpu/amd/agesa/family15/Kconfig for accuracy.
Change-Id: I421728d1d69bd52fbf1fbc8f8780d7b1dd2a79a5 Signed-off-by: Marty Plummer ntzrmtthihu777@gmail.com --- src/cpu/amd/Kconfig | 1 + src/cpu/amd/Makefile.inc | 1 + src/cpu/amd/socket_AM3r2/Kconfig | 30 ++++++++++++++++++++++++++++++ src/cpu/amd/socket_AM3r2/Makefile.inc | 13 +++++++++++++ 4 files changed, 45 insertions(+)
diff --git a/src/cpu/amd/Kconfig b/src/cpu/amd/Kconfig index 23e4deb..e51ddf9 100644 --- a/src/cpu/amd/Kconfig +++ b/src/cpu/amd/Kconfig @@ -4,6 +4,7 @@ source src/cpu/amd/socket_940/Kconfig 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_AM3r2/Kconfig source src/cpu/amd/socket_C32/Kconfig source src/cpu/amd/socket_FM2/Kconfig source src/cpu/amd/socket_G34/Kconfig diff --git a/src/cpu/amd/Makefile.inc b/src/cpu/amd/Makefile.inc index da6862d..5bfaad4 100644 --- a/src/cpu/amd/Makefile.inc +++ b/src/cpu/amd/Makefile.inc @@ -6,6 +6,7 @@ subdirs-$(CONFIG_CPU_AMD_SOCKET_940) += socket_940 subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += socket_AM2 subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2R2) += socket_AM2r2 subdirs-$(CONFIG_CPU_AMD_SOCKET_AM3) += socket_AM3 +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM3R2) += socket_AM3r2 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 diff --git a/src/cpu/amd/socket_AM3r2/Kconfig b/src/cpu/amd/socket_AM3r2/Kconfig new file mode 100644 index 0000000..41590ce --- /dev/null +++ b/src/cpu/amd/socket_AM3r2/Kconfig @@ -0,0 +1,30 @@ +config CPU_AMD_SOCKET_AM3R2 + bool + select CPU_AMD_MODEL_10XXX + select PCI_IO_CFG_EXT + select X86_AMD_FIXED_MTRRS + +if CPU_AMD_SOCKET_AM3R2 + +config CPU_SOCKET_TYPE + hex + default 0x11 + +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_AM3r2/Makefile.inc b/src/cpu/amd/socket_AM3r2/Makefile.inc new file mode 100644 index 0000000..6917441 --- /dev/null +++ b/src/cpu/amd/socket_AM3r2/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