]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Eot/FvImage.py
BaseTools: use set instead of list for a variable to be used with in
[mirror_edk2.git] / BaseTools / Source / Python / Eot / FvImage.py
index affca4e71e8aa00604d326b5a98ae24a5f3144d2..472ae400506d510a19cc42fa48896fda7aa503ec 100644 (file)
@@ -138,7 +138,6 @@ class FirmwareVolume(Image):
         self.FfsDict = sdict()\r
         self.OrderedFfsDict = sdict()\r
         self.UnDispatchedFfsDict = sdict()\r
-        self.NoDepexFfsDict = sdict()\r
         self.ProtocolList = sdict()\r
 \r
     def CheckArchProtocol(self):\r
@@ -284,26 +283,6 @@ class FirmwareVolume(Image):
 \r
         self.DisPatchDxe(Db)\r
 \r
-    def DisPatchNoDepexFfs(self, Db):\r
-        # Last Load Drivers without Depex\r
-        for FfsID in self.NoDepexFfsDict:\r
-            NewFfs = self.NoDepexFfsDict.pop(FfsID)\r
-            self.OrderedFfsDict[FfsID] = NewFfs\r
-            self.LoadProtocol(Db, FfsID)\r
-\r
-        return True\r
-\r
-    def LoadCallbackProtocol(self):\r
-        IsLoad = True\r
-        for Protocol in self.ProtocolList:\r
-            for Callback in self.ProtocolList[Protocol][1]:\r
-                if Callback[0] not in self.OrderedFfsDict.keys():\r
-                    IsLoad = False\r
-                    continue\r
-            if IsLoad:\r
-                EotGlobalData.gProtocolList[Protocol.lower()] = self.ProtocolList[Protocol][0]\r
-                self.ProtocolList.pop(Protocol)\r
-\r
     def LoadProtocol(self, Db, ModuleGuid):\r
         SqlCommand = """select GuidValue from Report\r
                         where SourceFileFullPath in\r