]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools/BinToPcd: Fix typo in error messages
authorKinney, Michael D <michael.d.kinney@intel.com>
Sat, 9 Jun 2018 03:43:44 +0000 (20:43 -0700)
committerKinney, Michael D <michael.d.kinney@intel.com>
Thu, 14 Jun 2018 22:43:06 +0000 (15:43 -0700)
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>
BaseTools/Scripts/BinToPcd.py

index f2485a27fa3391acc7844fb362ae505519c7de87..014aad9800973a31071a29b9cbdc2aa70d8476e5 100644 (file)
@@ -135,7 +135,7 @@ if __name__ == '__main__':
     #\r
     Pcd = PcdValue\r
     if args.Verbose:\r
-      print 'PcdToBin: Convert binary file to PCD Value'\r
+      print 'BinToPcd: Convert binary file to PCD Value'\r
   elif args.PcdType is None:\r
     #\r
     # If --type is neither VPD nor HII, then use PCD statement syntax that is\r
@@ -155,7 +155,7 @@ if __name__ == '__main__':
       Pcd = '  %s|%s|VOID*|%d' % (args.PcdName, PcdValue, args.MaxSize)\r
 \r
     if args.Verbose:\r
-      print 'PcdToBin: Convert binary file to PCD statement compatible with PCD sections:'\r
+      print 'BinToPcd: Convert binary file to PCD statement compatible with PCD sections:'\r
       print '    [PcdsFixedAtBuild]'\r
       print '    [PcdsPatchableInModule]'\r
       print '    [PcdsDynamicDefault]'\r
@@ -182,7 +182,7 @@ if __name__ == '__main__':
       #\r
       Pcd = '  %s|%d|%d|%s' % (args.PcdName, args.Offset, args.MaxSize, PcdValue)\r
     if args.Verbose:\r
-      print 'PcdToBin: Convert binary file to PCD statement compatible with PCD sections'\r
+      print 'BinToPcd: Convert binary file to PCD statement compatible with PCD sections'\r
       print '    [PcdsDynamicVpd]'\r
       print '    [PcdsDynamicExVpd]'\r
   elif args.PcdType == 'HII':\r
@@ -199,7 +199,7 @@ if __name__ == '__main__':
       args.Offset = 0\r
     Pcd = '  %s|L"%s"|%s|%d|%s' % (args.PcdName, args.VariableName, args.VariableGuid, args.Offset, PcdValue)\r
     if args.Verbose:\r
-      print 'PcdToBin: Convert binary file to PCD statement compatible with PCD sections'\r
+      print 'BinToPcd: Convert binary file to PCD statement compatible with PCD sections'\r
       print '    [PcdsDynamicHii]'\r
       print '    [PcdsDynamicExHii]'\r
 \r