summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf/fapi/fapiReturnCodes.H
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2012-04-16 13:02:30 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-04-30 11:15:14 -0500
commit9e236383304e7cf633bda1cfdafc02a5a6f90823 (patch)
tree729a02e9d5d46792b94c583532f85f5fd24a642e /src/include/usr/hwpf/fapi/fapiReturnCodes.H
parent572584e356e561da5fab17af1bceec60d72bd58e (diff)
downloadtalos-hostboot-9e236383304e7cf633bda1cfdafc02a5a6f90823.tar.gz
talos-hostboot-9e236383304e7cf633bda1cfdafc02a5a6f90823.zip
HWPF: Add Chip EC Feature support
Allows Chip EC features to be specified in Attribute XML files and queried using the standard FAPI_ATTR_GET attribute query macro. This removes the direct querying of chip name and EC within HWPs which leads to a more data driven approach because when a new chip EC level is released you just have to change the XML data file to specify which features (which can be bugs) have changed, the HWP code does not change Change-Id: Ie464a1b58246c21ac59f0d42fe265657a3576c31 RTC: 39684 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/901 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwpf/fapi/fapiReturnCodes.H')
-rw-r--r--src/include/usr/hwpf/fapi/fapiReturnCodes.H4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/usr/hwpf/fapi/fapiReturnCodes.H b/src/include/usr/hwpf/fapi/fapiReturnCodes.H
index 011b8e814..4c18346f5 100644
--- a/src/include/usr/hwpf/fapi/fapiReturnCodes.H
+++ b/src/include/usr/hwpf/fapi/fapiReturnCodes.H
@@ -39,6 +39,7 @@
* mjjones 10/28/2011 Trim FAPI/PLAT errors
* mjjones 11/10/2011 Use ecmdDataBufferBase
* mjjones 01/13/2012 Name enumeration
+ * mjjones 04/16/2012 Add FAPI_RC_INVALID_CHIP_EC_FEATURE_GET
*/
#ifndef FAPIRETURNCODES_H_
@@ -66,7 +67,8 @@ enum ReturnCodes
FAPI_RC_ECMD_MASK = ECMD_ERR_ECMD, // ECMD generated error (0x01000000)
// FAPI generated return codes
- FAPI_RC_INVALID_ATTR_GET = FAPI_RC_FAPI_MASK | 0x01,
+ FAPI_RC_INVALID_ATTR_GET = FAPI_RC_FAPI_MASK | 0x01,
+ FAPI_RC_INVALID_CHIP_EC_FEATURE_GET = FAPI_RC_FAPI_MASK | 0x02,
// PLAT generated return codes
FAPI_RC_PLAT_ERR_SEE_DATA = FAPI_RC_PLAT_MASK | 0x01,
OpenPOWER on IntegriCloud