]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Eot/FvImage.py
BaseTools: remove duplicate function name
[mirror_edk2.git] / BaseTools / Source / Python / Eot / FvImage.py
index affca4e71e8aa00604d326b5a98ae24a5f3144d2..39c31d768d5d957298d77133c8bd46b275242d7d 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # Parse FV image\r
 #\r
-# Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -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
@@ -384,7 +363,7 @@ class FirmwareVolume(Image):
                     NewFfs = self.UnDispatchedFfsDict.pop(FfsID)\r
                     NewFfs.Depex = DepexString\r
                     if FileDepex is not None:\r
-                        ScheduleList.insert.insert(FileDepex[1], FfsID, NewFfs, FileDepex[0])\r
+                        ScheduleList.insert(FileDepex[1], FfsID, NewFfs, FileDepex[0])\r
                     else:\r
                         ScheduleList[FfsID] = NewFfs\r
                 else:\r