summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/p9_mss_attr_update.H
diff options
context:
space:
mode:
authorBrian Silver <bsilver@us.ibm.com>2015-11-10 13:47:31 -0600
committerStephen Cprek <smcprek@us.ibm.com>2016-02-19 17:06:50 -0600
commitf529f486d5448c9c44c2658773212da8f406458a (patch)
treefa7ef6e9b8b6b05046027e6996e4044f51591577 /src/import/chips/p9/procedures/hwp/memory/p9_mss_attr_update.H
parent37e8afd1f88fc71af5c4f83046ee83a4703748ff (diff)
downloadtalos-hostboot-f529f486d5448c9c44c2658773212da8f406458a.tar.gz
talos-hostboot-f529f486d5448c9c44c2658773212da8f406458a.zip
Change L1 headers to include defines to avoid duplicate inclusion
Add missing L1 headers Change-Id: I0bf75b02bdec97ade47b8757db3a730eeffb43fd Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21940 Tested-by: Jenkins Server Reviewed-by: Craig C. Hamilton <cchamilt@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/p9_mss_attr_update.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_attr_update.H10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_attr_update.H b/src/import/chips/p9/procedures/hwp/memory/p9_mss_attr_update.H
index e33973ba5..5131f43b2 100644
--- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_attr_update.H
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_attr_update.H
@@ -28,11 +28,12 @@
// *HWP Level: 1
// *HWP Consumed by: FSP:HB
-#include <fapi2.H>
+#ifndef __P9_MSS_ATTR_UPDATE__
+#define __P9_MSS_ATTR_UPDATE__
-using fapi2::TARGET_TYPE_MCS;
+#include <fapi2.H>
-typedef fapi2::ReturnCode (*p9_mss_attr_update_FP_t) (const fapi2::Target<TARGET_TYPE_MCS>&);
+typedef fapi2::ReturnCode (*p9_mss_attr_update_FP_t) (const fapi2::Target<fapi2::TARGET_TYPE_MCS>&);
extern "C"
{
@@ -42,7 +43,8 @@ extern "C"
/// @param[in] i_target, the controller (e.g., MCS)
/// @return FAPI2_RC_SUCCESS iff ok
///
- fapi2::ReturnCode p9_mss_attr_update( const fapi2::Target<TARGET_TYPE_MCS>& i_target );
+ fapi2::ReturnCode p9_mss_attr_update( const fapi2::Target<fapi2::TARGET_TYPE_MCS>& i_target );
}
+#endif
OpenPOWER on IntegriCloud