diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2017-04-05 09:51:55 -0500 |
---|---|---|
committer | Santosh S. Puranik <santosh.puranik@in.ibm.com> | 2017-04-18 02:03:25 -0400 |
commit | 956172a5f70d79fbc62b2829d4952f85b6140056 (patch) | |
tree | 7f58a8368b57793f8241f5f7ca8329cff9327bba /src/hwpf/src/plat/plat_attribute_service.H | |
parent | 25a1daa933ed2bd25dc77efaeb656928cf300850 (diff) | |
download | talos-sbe-956172a5f70d79fbc62b2829d4952f85b6140056.tar.gz talos-sbe-956172a5f70d79fbc62b2829d4952f85b6140056.zip |
Cumulus ATTR_NAME Support
Change-Id: I47946f25067c1d7cf6f56e1734406d1416269f5b
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38212
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Diffstat (limited to 'src/hwpf/src/plat/plat_attribute_service.H')
-rw-r--r-- | src/hwpf/src/plat/plat_attribute_service.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hwpf/src/plat/plat_attribute_service.H b/src/hwpf/src/plat/plat_attribute_service.H index c54a5f28..008132c3 100644 --- a/src/hwpf/src/plat/plat_attribute_service.H +++ b/src/hwpf/src/plat/plat_attribute_service.H @@ -46,6 +46,10 @@ #define PLAT_GET_CHIP_EC_FEATURE_OVERRIDE(ID, PTARGET, VAL) \ _getEcFeatureOverride<ID##_Type>(ID, PTARGET, VAL) +#define PLAT_ATTR_INIT(ID, TARGET, VAL) \ + (fapi2::checkIdType<ID##_Type>(ID, VAL), \ + ID##_PLAT_INIT(ID, TARGET, VAL)) + /* INSERT NEW ATTRIBUTES HERE */ |