BaseTools: Replace PCD type strings with predefined constant
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>
This commit is contained in:
committed by
Yonghong Zhu
parent
eece4292ac
commit
be409b6756
@ -249,7 +249,7 @@ class FfsInfStatement(FfsInfStatementClassObject):
|
||||
Pcd = InfPcds[PcdKey]
|
||||
if not hasattr(Pcd, 'Offset'):
|
||||
continue
|
||||
if Pcd.Type != 'PatchableInModule':
|
||||
if Pcd.Type != TAB_PCDS_PATCHABLE_IN_MODULE:
|
||||
continue
|
||||
# Override Patchable PCD value by the value from DSC
|
||||
PatchPcd = None
|
||||
|
Reference in New Issue
Block a user