mirror of https://github.com/acidanthera/audk.git
BaseTools/GenFds: remove function without callers
Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@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:
parent
7bf1eb6ef8
commit
7761cee050
|
@ -592,23 +592,6 @@ class GenFdsGlobalVariable:
|
||||||
|
|
||||||
GenFdsGlobalVariable.CallExternalTool(Cmd, "Failed to generate FV")
|
GenFdsGlobalVariable.CallExternalTool(Cmd, "Failed to generate FV")
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
def GenerateVtf(Output, Input, BaseAddress=None, FvSize=None):
|
|
||||||
if not GenFdsGlobalVariable.NeedsUpdate(Output, Input):
|
|
||||||
return
|
|
||||||
GenFdsGlobalVariable.DebugLogger(EdkLogger.DEBUG_5, "%s needs update because of newer %s" % (Output, Input))
|
|
||||||
|
|
||||||
Cmd = ["GenVtf"]
|
|
||||||
if BaseAddress and FvSize \
|
|
||||||
and len(BaseAddress) == len(FvSize):
|
|
||||||
for I in range(0, len(BaseAddress)):
|
|
||||||
Cmd += ("-r", BaseAddress[I], "-s", FvSize[I])
|
|
||||||
Cmd += ("-o", Output)
|
|
||||||
for F in Input:
|
|
||||||
Cmd += ("-f", F)
|
|
||||||
|
|
||||||
GenFdsGlobalVariable.CallExternalTool(Cmd, "Failed to generate VTF")
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def GenerateFirmwareImage(Output, Input, Type="efi", SubType=None, Zero=False,
|
def GenerateFirmwareImage(Output, Input, Type="efi", SubType=None, Zero=False,
|
||||||
Strip=False, Replace=False, TimeStamp=None, Join=False,
|
Strip=False, Replace=False, TimeStamp=None, Join=False,
|
||||||
|
|
Loading…
Reference in New Issue