summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2019-11-24 19:03:56 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-11-27 13:51:25 +0000
commit3ac0ab524b70d9c3ff4f93684ae8f36f3586d155 (patch)
treeb258daf07fb5598cd36f85993bd8795fff5fe754 /src/soc/amd/stoneyridge
parent65a8c2e076bc2e200e8a4d6fcaa91a0eab51740b (diff)
downloadcoreboot-3ac0ab524b70d9c3ff4f93684ae8f36f3586d155.tar.xz
soc/amd/stoneyridge: Add selectable packages
The StoneyPI package supports Family 15h Models 60h-6Fh and 70h-7Fh in FT4 and FP4 packages. Add options for the packages. The existing convention of SOC_AMD_PRODUCTNAME_PKG will be phased out. Change-Id: I60232ca099b813640742868db08aa66b32265f3b Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37218 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Diffstat (limited to 'src/soc/amd/stoneyridge')
-rw-r--r--src/soc/amd/stoneyridge/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig
index cbf88df902..c753ecee6a 100644
--- a/src/soc/amd/stoneyridge/Kconfig
+++ b/src/soc/amd/stoneyridge/Kconfig
@@ -15,16 +15,19 @@
config SOC_AMD_STONEYRIDGE_FP4
bool
+ select AMD_APU_PKG_FP4
help
AMD Stoney Ridge FP4 support
config SOC_AMD_STONEYRIDGE_FT4
bool
+ select AMD_APU_PKG_FT4
help
AMD Stoney Ridge FT4 support
config SOC_AMD_MERLINFALCON
bool
+ select AMD_APU_PKG_FP4
help
AMD Merlin Falcon FP4 support
@@ -77,6 +80,21 @@ config CPU_SPECIFIC_OPTIONS
select SSE2
select RTC
+config AMD_APU_PKG_FP4
+ bool
+ help
+ AMD FP4 package
+
+config AMD_APU_PKG_FT4
+ bool
+ help
+ AMD FT4 package
+
+config AMD_SOC_PACKAGE
+ string
+ default "FP4" if AMD_APU_PKG_FP4
+ default "FT4" if AMD_APU_PKG_FT4
+
config VBOOT
select VBOOT_SEPARATE_VERSTAGE
select VBOOT_STARTS_IN_BOOTBLOCK