]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/GenFds/FfsInfStatement.py
BaseTools: Replace PCD type strings with predefined constant
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / FfsInfStatement.py
index f973cf2f0b76671ce1cc0c7e2e3ff3a4f4be3f38..9068157ba616281cc60e68e77aaa70128744fa91 100644 (file)
@@ -249,7 +249,7 @@ class FfsInfStatement(FfsInfStatementClassObject):
             Pcd = InfPcds[PcdKey]\r
             if not hasattr(Pcd, 'Offset'):\r
                 continue\r
-            if Pcd.Type != 'PatchableInModule':\r
+            if Pcd.Type != TAB_PCDS_PATCHABLE_IN_MODULE:\r
                 continue\r
             # Override Patchable PCD value by the value from DSC\r
             PatchPcd = None\r