|
From: <yi...@us...> - 2012-05-21 08:21:56
|
Revision: 2520
http://edk2-buildtools.svn.sourceforge.net/edk2-buildtools/?rev=2520&view=rev
Author: yingke
Date: 2012-05-21 08:21:47 +0000 (Mon, 21 May 2012)
Log Message:
-----------
Support CARRAY value of VPD PCD starting with upper case ?\226?\128?\1560X?\226?\128?\157.
Reviewed-by: Su Jikui <jik...@in...>
Signed-off-by: Liu Yingke <yin...@in...>
Modified Paths:
--------------
trunk/BaseTools/Source/Python/BPDG/GenVpd.py
Modified: trunk/BaseTools/Source/Python/BPDG/GenVpd.py
===================================================================
--- trunk/BaseTools/Source/Python/BPDG/GenVpd.py 2012-05-21 06:07:38 UTC (rev 2519)
+++ trunk/BaseTools/Source/Python/BPDG/GenVpd.py 2012-05-21 08:21:47 UTC (rev 2520)
@@ -226,7 +226,7 @@
for Index in xrange(len(ValueList)):
Value = None
- if ValueList[Index].startswith('0x'):
+ if ValueList[Index].lower().startswith('0x'):
# translate hex value
try:
Value = int(ValueList[Index], 16)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|