summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-01-29 14:05:58 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-02-01 20:35:02 +0000
commit894f6f8229a7bb479c523ce4bcbf927f2d1f1d5b (patch)
tree83ea0df2c41150f2daa8ccbf717a923a1f71d064 /src/include/cpu/x86
parentbab9d72f1528610a0200a5afb7e7ebc35ffe99aa (diff)
cpu/x86/smm: Add SMM_LEGACY_ASEG
Followup will allow use of PARALLEL_MP with SMM_ASEG so some guards need to be adjusted. Change-Id: If032ce2be4749559db0d46ab5ae422afa7666785 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61480 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include/cpu/x86')
-rw-r--r--src/include/cpu/x86/smi_deprecated.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/cpu/x86/smi_deprecated.h b/src/include/cpu/x86/smi_deprecated.h
index 6213915eee..262aa0b695 100644
--- a/src/include/cpu/x86/smi_deprecated.h
+++ b/src/include/cpu/x86/smi_deprecated.h
@@ -3,16 +3,8 @@
#ifndef __X86_SMI_DEPRECATED_H__
#define __X86_SMI_DEPRECATED_H__
-#include <stdint.h>
-
-#if CONFIG(PARALLEL_MP) || !CONFIG(HAVE_SMI_HANDLER)
-/* Empty stubs for platforms without SMI handlers. */
-static inline void smm_init(void) { }
-static inline void smm_init_completion(void) { }
-#else
void smm_init(void);
void smm_init_completion(void);
-#endif
/* Entry from smmhandler.S. */
void smi_handler(void);