summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2017-05-14 14:16:56 -0600
committerMartin Roth <martinroth@google.com>2017-06-27 20:52:13 +0000
commitc6ef9dbd94b4bae54ce019b32b1c2ac0f88c827a (patch)
tree5c84dc4ce0914233fa70387eb7b6c2a818a1aaca /src
parent7edba2e134a0d168342948e950be8125716cba42 (diff)
downloadcoreboot-c6ef9dbd94b4bae54ce019b32b1c2ac0f88c827a.tar.gz
coreboot-c6ef9dbd94b4bae54ce019b32b1c2ac0f88c827a.tar.bz2
coreboot-c6ef9dbd94b4bae54ce019b32b1c2ac0f88c827a.zip
soc/amd/stoneyridge: Add tseg size to Kconfig
Add a SMM_TSEG_SIZE symbol that can be used in top of memory calculations. Change-Id: I26f3b06f85f0cf5613656c1d5df55bd9ea4bbbbc Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/19750 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/stoneyridge/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig
index d07833d0aff0..9c184edb2de2 100644
--- a/src/soc/amd/stoneyridge/Kconfig
+++ b/src/soc/amd/stoneyridge/Kconfig
@@ -263,4 +263,9 @@ config STONEYRIDGE_UART
to FEDC_6FFFh. UART controller 1 registers
range from FEDC_8000h to FEDC_8FFFh.
+config SMM_TSEG_SIZE
+ hex
+ default 0x800000 if HAVE_SMI_HANDLER
+ default 0x0
+
endif # SOC_AMD_STONEYRIDGE_FP4 || SOC_AMD_STONEYRIDGE_FT4