diff options
author | Mike Jones <mjjones@us.ibm.com> | 2013-04-19 13:19:16 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-04-29 09:50:20 -0500 |
commit | e272beb6cd8a761a53033d3966b0d01e4005d8b5 (patch) | |
tree | a071283acfd88b9c23bf11c2649ed13599a679f5 /src/include/usr/hwpf | |
parent | 00115406c9f94ba6674e37fc2772221055f097f5 (diff) | |
download | talos-hostboot-e272beb6cd8a761a53033d3966b0d01e4005d8b5.tar.gz talos-hostboot-e272beb6cd8a761a53033d3966b0d01e4005d8b5.zip |
Allow Chip EC Feature HWPF Attributes to be overridden
Change-Id: I8d2ac2c5a4c253a9a5efe9ab3d3337f143efa6e4
RTC: 67311
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4125
Tested-by: Jenkins Server
Reviewed-by: Richard J. Knight <rjknight@us.ibm.com>
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwpf')
-rw-r--r-- | src/include/usr/hwpf/plat/fapiPlatAttributeService.H | 7 |
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 //------------------------------------------------------------------------------ |