summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2021-03-02 15:59:02 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-03-19 11:33:51 +0000
commit9036bd7cb1b4939797372a4e517914a45e29155b (patch)
tree4ad113d1b75f357cc8182b34f7e3d8b73df4b3f6 /src/include
parent41b078f8aecd9d01b83ac8ceb646645b8d1c4722 (diff)
downloadcoreboot-9036bd7cb1b4939797372a4e517914a45e29155b.tar.xz
cpu/x86/mp_init.c: Drop unnecessary preprocessor usage
Change-Id: If67bcbf0c8ffbd041e2e4cab8496f4634de26552 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51185 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/x86/smm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index 4f3db291ac..b42f3faef4 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -151,9 +151,7 @@ struct smm_loader_params {
int smm_setup_relocation_handler(struct smm_loader_params *params);
int smm_load_module(void *smram, size_t size, struct smm_loader_params *params);
-#if CONFIG(X86_SMM_LOADER_VERSION2)
u32 smm_get_cpu_smbase(unsigned int cpu_num);
-#endif
/* Backup and restore default SMM region. */
void *backup_default_smm_area(void);