aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/cpu/Kconfig
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-02-10 02:26:10 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-02-11 01:44:24 +0000
commitbc134812c3038b001d6b8a6c9fd30b1574e8517a (patch)
tree66cdd9b1bed347edde9f59a352ca45ed074efb8d /src/soc/amd/common/block/cpu/Kconfig
parenta6fc2125e78eb7db537733ee7d33f59e723a27c1 (diff)
soc/amd: factor out common SMM relocation code
The common code gets moved to soc/amd/common/block/cpu/smm, since it is related to the CPU cores and soc/amd/common/block/smi is about the SMI/ SCI functionality in the FCH part. Also relocation_handler gets renamed to smm_relocation_handler to keep it clear what it does, since it got moved to another compilation unit. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I45224131dfd52247018c5ca19cb37c44062b03eb Reviewed-on: https://review.coreboot.org/c/coreboot/+/50462 Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common/block/cpu/Kconfig')
-rw-r--r--src/soc/amd/common/block/cpu/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/cpu/Kconfig b/src/soc/amd/common/block/cpu/Kconfig
index c155975590..996605e7f3 100644
--- a/src/soc/amd/common/block/cpu/Kconfig
+++ b/src/soc/amd/common/block/cpu/Kconfig
@@ -28,6 +28,12 @@ config MEMLAYOUT_LD_FILE
endif # SOC_AMD_COMMON_BLOCK_NONCAR
+config SOC_AMD_COMMON_BLOCK_SMM
+ bool
+ default n
+ help
+ Add common SMM relocation and handler functionality to the build.
+
config SOC_AMD_COMMON_BLOCK_TSC_FAM17H_19H
bool
select COLLECT_TIMESTAMPS_NO_TSC # selected use SoC-specific timestamp function