summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-09 04:37:35 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-10 09:23:16 +0000
commitfd10f773dbecc7ac9a2b8af131e91c107409dbc8 (patch)
tree5bb52bf94bc71704d90a501be086f7d0dac68a9d
parent571b7b211893e09c05287dda773579d367df548c (diff)
cpu/x86: Remove obsolete smm_init_completion()
This is not used together with PARALLEL_MP and SMM_TSEG. Platforms with SMM_ASEG continue to have their local implementation doing the same thing. Change-Id: I13a2f164804330c93240bff7f048e0a162b3ae25 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34154 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/cpu/intel/smm/gen1/smmrelocate.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cpu/intel/smm/gen1/smmrelocate.c b/src/cpu/intel/smm/gen1/smmrelocate.c
index d52043f047..986929c9cb 100644
--- a/src/cpu/intel/smm/gen1/smmrelocate.c
+++ b/src/cpu/intel/smm/gen1/smmrelocate.c
@@ -57,7 +57,6 @@ struct smm_relocation_params {
/* This gets filled in and used during relocation. */
static struct smm_relocation_params smm_reloc_params;
-static void *default_smm_area = NULL;
/* On model_6fx, model_1067x and model_106cx SMRR functions slightly
differently. The MSR are at different location from the rest
@@ -168,11 +167,6 @@ static void setup_ied_area(struct smm_relocation_params *params)
memset(ied_base + (1 << 20), 0, (32 << 10));
}
-void smm_init_completion(void)
-{
- restore_default_smm_area(default_smm_area);
-}
-
void smm_lock(void)
{
/* LOCK the SMM memory window and enable normal SMM.