BaseTools/BinToPcd: Fix typo in error messages
https://bugzilla.tianocore.org/show_bug.cgi?id=962 Change "PcdToBin" to "BinToPcd" Cc: Yanyan Sun <yanyan.sun@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
parent
c64688f36a
commit
1d79b72ee6
@ -135,7 +135,7 @@ if __name__ == '__main__':
|
|||||||
#
|
#
|
||||||
Pcd = PcdValue
|
Pcd = PcdValue
|
||||||
if args.Verbose:
|
if args.Verbose:
|
||||||
print 'PcdToBin: Convert binary file to PCD Value'
|
print 'BinToPcd: Convert binary file to PCD Value'
|
||||||
elif args.PcdType is None:
|
elif args.PcdType is None:
|
||||||
#
|
#
|
||||||
# If --type is neither VPD nor HII, then use PCD statement syntax that is
|
# If --type is neither VPD nor HII, then use PCD statement syntax that is
|
||||||
@ -155,7 +155,7 @@ if __name__ == '__main__':
|
|||||||
Pcd = ' %s|%s|VOID*|%d' % (args.PcdName, PcdValue, args.MaxSize)
|
Pcd = ' %s|%s|VOID*|%d' % (args.PcdName, PcdValue, args.MaxSize)
|
||||||
|
|
||||||
if args.Verbose:
|
if args.Verbose:
|
||||||
print 'PcdToBin: Convert binary file to PCD statement compatible with PCD sections:'
|
print 'BinToPcd: Convert binary file to PCD statement compatible with PCD sections:'
|
||||||
print ' [PcdsFixedAtBuild]'
|
print ' [PcdsFixedAtBuild]'
|
||||||
print ' [PcdsPatchableInModule]'
|
print ' [PcdsPatchableInModule]'
|
||||||
print ' [PcdsDynamicDefault]'
|
print ' [PcdsDynamicDefault]'
|
||||||
@ -182,7 +182,7 @@ if __name__ == '__main__':
|
|||||||
#
|
#
|
||||||
Pcd = ' %s|%d|%d|%s' % (args.PcdName, args.Offset, args.MaxSize, PcdValue)
|
Pcd = ' %s|%d|%d|%s' % (args.PcdName, args.Offset, args.MaxSize, PcdValue)
|
||||||
if args.Verbose:
|
if args.Verbose:
|
||||||
print 'PcdToBin: Convert binary file to PCD statement compatible with PCD sections'
|
print 'BinToPcd: Convert binary file to PCD statement compatible with PCD sections'
|
||||||
print ' [PcdsDynamicVpd]'
|
print ' [PcdsDynamicVpd]'
|
||||||
print ' [PcdsDynamicExVpd]'
|
print ' [PcdsDynamicExVpd]'
|
||||||
elif args.PcdType == 'HII':
|
elif args.PcdType == 'HII':
|
||||||
@ -199,7 +199,7 @@ if __name__ == '__main__':
|
|||||||
args.Offset = 0
|
args.Offset = 0
|
||||||
Pcd = ' %s|L"%s"|%s|%d|%s' % (args.PcdName, args.VariableName, args.VariableGuid, args.Offset, PcdValue)
|
Pcd = ' %s|L"%s"|%s|%d|%s' % (args.PcdName, args.VariableName, args.VariableGuid, args.Offset, PcdValue)
|
||||||
if args.Verbose:
|
if args.Verbose:
|
||||||
print 'PcdToBin: Convert binary file to PCD statement compatible with PCD sections'
|
print 'BinToPcd: Convert binary file to PCD statement compatible with PCD sections'
|
||||||
print ' [PcdsDynamicHii]'
|
print ' [PcdsDynamicHii]'
|
||||||
print ' [PcdsDynamicExHii]'
|
print ' [PcdsDynamicExHii]'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user