summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-10 15:51:59 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-13 13:59:34 +0000
commitc4fdb7b923f82e31a687fc01f7176ad05ab51689 (patch)
treef7ee32bd81fe70378fae542570d4f674b1e31f71 /src/arch
parente31ec299decd5a07e14fbd680eb88d34561c646d (diff)
cpu/x86: Move some SMM function declarations
Change-Id: I9a4e57f8fd032f2824eab0e5b59d635710e3e24b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34822 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/acpi_s3.c1
-rw-r--r--src/arch/x86/include/arch/cpu.h6
2 files changed, 1 insertions, 6 deletions
diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c
index 049fb12e75..98c53d1585 100644
--- a/src/arch/x86/acpi_s3.c
+++ b/src/arch/x86/acpi_s3.c
@@ -24,6 +24,7 @@
#include <program_loading.h>
#include <romstage_handoff.h>
#include <symbols.h>
+#include <cpu/x86/smm.h>
#if ENV_RAMSTAGE || ENV_POSTCAR
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h
index 293ca02158..606202197e 100644
--- a/src/arch/x86/include/arch/cpu.h
+++ b/src/arch/x86/include/arch/cpu.h
@@ -203,12 +203,6 @@ static inline unsigned int cpuid_edx(unsigned int op)
unsigned int cpu_cpuid_extended_level(void);
int cpu_have_cpuid(void);
-/* Only with !PARALLEL_MP. */
-void smm_init(void);
-void smm_init_completion(void);
-
-void smm_setup_structures(void *gnvs, void *tcg, void *smi1);
-
static inline bool cpu_is_amd(void)
{
return CONFIG(CPU_AMD_AGESA) || CONFIG(CPU_AMD_PI)