summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/hwpf')
-rw-r--r--src/include/usr/hwpf/plat/fapiPlatAttributeService.H7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/usr/hwpf/plat/fapiPlatAttributeService.H b/src/include/usr/hwpf/plat/fapiPlatAttributeService.H
index 9715626dc..21bdae861 100644
--- a/src/include/usr/hwpf/plat/fapiPlatAttributeService.H
+++ b/src/include/usr/hwpf/plat/fapiPlatAttributeService.H
@@ -453,6 +453,13 @@ fapi::ReturnCode fapiPlatGetSingleMemberEnableAttr(
? fapi::FAPI_RC_SUCCESS : fapi::platAttrSvc::createAttrAccessError( \
FAPI_PLAT_ATTR_SVC_MACRO_DIRECT_FAPI_##ID,fapi::ID,PTARGET)
+
+//------------------------------------------------------------------------------
+// MACRO to support the overriding of Chip EC Feature Attributes
+//------------------------------------------------------------------------------
+#define PLAT_GET_CHIP_EC_FEATURE_OVERRIDE(ID, PTARGET, VAL) \
+ fapi::AttrOverrideSync::getAttrOverrideFunc(fapi::ID, PTARGET, &VAL)
+
//------------------------------------------------------------------------------
// MACROs to route each ATTR_SPD access to the Hostboot SPD function
//------------------------------------------------------------------------------
OpenPOWER on IntegriCloud