summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorDhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>2018-06-19 05:48:00 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-07-02 21:13:35 -0400
commit691894a135de3e81f4318a5498c4a964fdebb8ae (patch)
tree2630017348e95ba2f5f059fda56cf05f91daf8a5 /src/usr
parent32f37bb83e3bbcf67114a197fcf72388bdbfce26 (diff)
downloadtalos-hostboot-691894a135de3e81f4318a5498c4a964fdebb8ae.tar.gz
talos-hostboot-691894a135de3e81f4318a5498c4a964fdebb8ae.zip
Detect non sync attribute usage in HWPs on FSP.
Some of the usage of FAPI attributes on FSP which marked non syncable was not detected, now GETMACRO is generated on FSP only if the attribute is not on the non-sync list. Change-Id: I0969ae802f13b65c80e96dbbf1a210ee8454685f CQ: SW433656 CMVC-Prereq: 1058619 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60861 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr')
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/xmltohb.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/xmltohb.pl b/src/usr/targeting/common/xmltohb/xmltohb.pl
index 36c17809f..101c87d0f 100755
--- a/src/usr/targeting/common/xmltohb/xmltohb.pl
+++ b/src/usr/targeting/common/xmltohb/xmltohb.pl
@@ -1314,6 +1314,10 @@ sub writeFapi2PlatAttrMacrosHeaderFileContent {
if ($cfgFapiAttributesXmlFile eq "")
{
+ if ($attribute->{id} ~~ @nonSyncAttributes)
+ {
+ next;
+ }
#No FAPI attributes xml file specified
if(exists $attribute->{readable})
{
OpenPOWER on IntegriCloud