aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2021-03-18 14:38:23 -0600
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-03-22 15:24:00 +0000
commite433042a8e60aa91e223a511ffed8f67500584d7 (patch)
tree41fc4f7a44157abb6a29a6c3a3a9b22ed67fc254 /src/soc/intel
parentc1301dd2d23532d4d824499a6632fa2d08fb23e5 (diff)
soc/intel/tigerlake: Add #include guards to soc/early_tcss.h
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Change-Id: I8a630655731b3ee30ef8377296878cce7b8c2201 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51648 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/tigerlake/include/soc/early_tcss.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/include/soc/early_tcss.h b/src/soc/intel/tigerlake/include/soc/early_tcss.h
index e366c9d751..8e45607d83 100644
--- a/src/soc/intel/tigerlake/include/soc/early_tcss.h
+++ b/src/soc/intel/tigerlake/include/soc/early_tcss.h
@@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef _EARLY_TCSS_H_
+#define _EARLY_TCSS_H_
+
/* PMC IPC related offsets and commands */
#define PMC_IPC_USBC_CMD_ID 0xA7
#define PMC_IPC_USBC_SUBCMD_ID 0x0
@@ -151,3 +154,5 @@ const struct tcss_mux_info *mainboard_tcss_get_mux_info(int port);
* returns tscc_port_map of all ports on system
*/
const struct tcss_port_map *mainboard_tcss_get_port_info(size_t *num_ports);
+
+#endif /* _EARLY_TCSS_H_ */