diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2020-10-14 11:35:51 +0200 |
---|---|---|
committer | David Hendricks <david.hendricks@gmail.com> | 2021-05-18 16:54:21 +0000 |
commit | 6419cd3335ef0aa20566ebc07812fcc0c7049604 (patch) | |
tree | 56052ccb1e400fe19fd7e75d20a40f765f21e421 /src/soc/amd | |
parent | 3c79777cd62a66ede560b1069565fc42a8e0f008 (diff) |
cpu/x86: Only include smm code if CONFIG_HAVE_SMI_HANDLER=y
This removes the need to include this code separately on each
platform.
Change-Id: I3d848b1adca4921d7ffa2203348073f0a11d090e
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46380
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/common/block/cpu/smm/Makefile.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/cpu/smm/Makefile.inc b/src/soc/amd/common/block/cpu/smm/Makefile.inc index 80d06a70a5..5694d1d9ca 100644 --- a/src/soc/amd/common/block/cpu/smm/Makefile.inc +++ b/src/soc/amd/common/block/cpu/smm/Makefile.inc @@ -1,7 +1,5 @@ ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_SMM),y) -subdirs-y += ../../../../../../cpu/x86/smm - romstage-y += smm_helper.c postcar-y += smm_helper.c ramstage-y += finalize.c |