summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2020-05-20 01:25:46 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-05-21 14:39:16 +0000
commit5640cfdc92b6cfbbeb9f0583a56ebbfaea3b34f7 (patch)
treece2834049c26a9c6aef0801a2d7f3412874ffc43 /src/soc/amd/picasso
parent5b01f2bf0c4f61718c0df73e0c834adadd2a20e5 (diff)
soc/amd/picasso/include/soc_util: add include guards
Change-Id: I2de16eaa88baace28afa30345b7762353a48ab87 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41558 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso')
-rw-r--r--src/soc/amd/picasso/include/soc/soc_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/include/soc/soc_util.h b/src/soc/amd/picasso/include/soc/soc_util.h
index 8e2c598630..9077195a88 100644
--- a/src/soc/amd/picasso/include/soc/soc_util.h
+++ b/src/soc/amd/picasso/include/soc/soc_util.h
@@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef __PICASSO_SOC_UTIL_H__
+#define __PICASSO_SOC_UTIL_H__
+
enum socket_type {
SOCKET_FP5 = 0,
SOCKET_AM4 = 2,
@@ -13,3 +16,5 @@ int soc_is_dali(void);
int soc_is_picasso(void);
int soc_is_raven2(void);
int soc_is_zen_plus(void);
+
+#endif /* __PICASSO_SOC_UTIL_H__ */