summaryrefslogtreecommitdiff
path: root/src/mainboard/google/stout
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-11-05 19:06:56 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-11-08 07:46:23 +0000
commit82c0e7e3d50cca20ed98d650d511071329e9f3a0 (patch)
tree03739fcddc4d8e50488925fa0dee337cb9bc255c /src/mainboard/google/stout
parent44f1af2996c3727a3675a3dd3b7f199219e7fbf6 (diff)
downloadcoreboot-82c0e7e3d50cca20ed98d650d511071329e9f3a0.tar.xz
arch/x86: Drop some __SMM__ guards
Change-Id: I64063bbae5b44f1f24566609a7f770c6d5f69fac Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36637 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google/stout')
-rw-r--r--src/mainboard/google/stout/ec.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/google/stout/ec.h b/src/mainboard/google/stout/ec.h
index 8c7882f565..f035e246be 100644
--- a/src/mainboard/google/stout/ec.h
+++ b/src/mainboard/google/stout/ec.h
@@ -22,10 +22,7 @@
#define EC_SMI_LID_CLOSED 0x2B
#ifndef __ACPI__
-extern void stout_ec_init(void);
-#endif
-
-#ifdef __SMM__
+void stout_ec_init(void);
void stout_ec_finalize_smm(void);
#endif