summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-31 18:17:47 +0200
committerPaul Fagerburg <pfagerburg@chromium.org>2022-06-03 15:22:28 +0000
commit272eac4929e82a5dc36749c0a1ad0d646084178a (patch)
tree2cb30a2f8e5699f0ed4b49f8716d246bea4a6cd9 /src/soc
parentd2d90215435f05329bfc03d9351ee6f8f5351014 (diff)
amdblocks/smm.h: Add header guards
Change-Id: I5d01c36fa4695ee42d18701a90d1b96bceb5045f Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64864 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/smm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/smm.h b/src/soc/amd/common/block/include/amdblocks/smm.h
index 46008fae2e..4a44203ba9 100644
--- a/src/soc/amd/common/block/include/amdblocks/smm.h
+++ b/src/soc/amd/common/block/include/amdblocks/smm.h
@@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef _AMDBLOCKS_SMM_H_
+#define _AMDBLOCKS_SMM_H_
+
#include <cpu/x86/msr.h>
#include <types.h>
@@ -16,3 +19,5 @@ void handle_smi_store(void);
void clear_tvalid(void);
/* See SMITYPE_* for list possible of events. GEVENTS are handled with mainboard_smi_gpi. */
void mainboard_handle_smi(int event);
+
+#endif