From 7761cee050e706544bfee70f1c6ca894be0b1a2a Mon Sep 17 00:00:00 2001 From: "Carsey, Jaben" Date: Thu, 6 Sep 2018 06:25:47 +0800 Subject: BaseTools/GenFds: remove function without callers Cc: Yonghong Zhu Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey Reviewed-by: Yonghong Zhu --- BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'BaseTools/Source') diff --git a/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py b/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py index 77873d36b9..14578a92a9 100644 --- a/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py +++ b/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py @@ -592,23 +592,6 @@ class GenFdsGlobalVariable: 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 def GenerateFirmwareImage(Output, Input, Type="efi", SubType=None, Zero=False, Strip=False, Replace=False, TimeStamp=None, Join=False, -- cgit v1.2.3