diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2016-09-13 11:31:46 -0500 |
---|---|---|
committer | Santosh S. Puranik <santosh.puranik@in.ibm.com> | 2016-09-19 01:45:34 -0400 |
commit | d6dcd0125e002508ea665a5b71eb2019a0274c91 (patch) | |
tree | 15911e4b3f1722d5bec3083f8030288046329d4d /src/tools/scripts/ppeParseAttributeInfo.pl | |
parent | 84f49a31edbf1f4dbdca4397194a498c97d4244c (diff) | |
download | talos-sbe-d6dcd0125e002508ea665a5b71eb2019a0274c91.tar.gz talos-sbe-d6dcd0125e002508ea665a5b71eb2019a0274c91.zip |
FAPI Plat Cleanup - III
-- Move completely to using FAPI from src/import
Change-Id: Ifd27a900fea45ef0e7d6bd4a62192e50812b99ac
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29581
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Diffstat (limited to 'src/tools/scripts/ppeParseAttributeInfo.pl')
-rwxr-xr-x | src/tools/scripts/ppeParseAttributeInfo.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/scripts/ppeParseAttributeInfo.pl b/src/tools/scripts/ppeParseAttributeInfo.pl index a2568937..6e2363d1 100755 --- a/src/tools/scripts/ppeParseAttributeInfo.pl +++ b/src/tools/scripts/ppeParseAttributeInfo.pl @@ -475,7 +475,7 @@ foreach my $entr (@{$entries->{entry}}) { exit(1); } - print AIFILE "const TargetType $attr->{id}_TargetTypes = "; + print AIFILE "const fapi2::TargetType $attr->{id}_TargetType = "; # Split on commas my @targTypes = split(',', $attr->{targetType}); @@ -576,7 +576,7 @@ foreach my $entr (@{$entries->{entry}}) { # compile failure if a set is attempted #------------------------------------------------------------------ print AIFILE "#define $attr->{id}_GETMACRO(ID, PTARGET, VAL) \\\n"; - print AIFILE " PLAT_GET_CHIP_EC_FEATURE_OVERRIDE(ID, PTARGET, VAL) ? fapi2::FAPI2_RC_SUCCESS : \\\n"; + print AIFILE " PLAT_GET_CHIP_EC_FEATURE_OVERRIDE(ID, PTARGET, VAL) ? fapi2::ReturnCode() : \\\n"; print AIFILE " fapi2::queryChipEcFeature(fapi2::int2Type<ID>(), PTARGET, VAL)\n"; print AIFILE "#define $attr->{id}_SETMACRO(ID, PTARGET, VAL) "; print AIFILE "CHIP_EC_FEATURE_ATTRIBUTE_NOT_WRITABLE\n"; |