BaseTools: merge towards minimum PCD MAX <something> methods
authorCarsey, Jaben <jaben.carsey@intel.com>
Wed, 11 Apr 2018 23:08:08 +0000 (07:08 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 18 Apr 2018 14:15:36 +0000 (22:15 +0800)
commit25598f8bdbd63dd96194fd3f43dd53dd814cd1c0
treeb21acd2cafb9bbde506daa9d1a1d7ea6addcddaf
parent9eb87141eca12b1f15afa4b769af04d1395891c6
BaseTools: merge towards minimum PCD MAX <something> methods

we have 5 different max val or max byte for PCDs.
refactor and remove 2 methods.
we need 3, as one computes for VOID* PCDs.

Cc: Bob Feng <bob.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/Common/DataType.py
BaseTools/Source/Python/Common/RangeExpression.py
BaseTools/Source/Python/Common/VpdInfoFile.py
BaseTools/Source/Python/GenFds/FfsInfStatement.py
BaseTools/Source/Python/Workspace/DscBuildData.py