summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorCarsey, Jaben <jaben.carsey@intel.com>2018-09-06 06:25:47 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-09-07 11:22:48 +0800
commit7761cee050e706544bfee70f1c6ca894be0b1a2a (patch)
treeb6753ef217a4a7e3d834bcdf65a4f70b82f8a77d /BaseTools/Source
parent7bf1eb6ef8ae6ccffca6fc8f36b132be704c0b1b (diff)
downloadedk2-7761cee050e706544bfee70f1c6ca894be0b1a2a.tar.gz
edk2-7761cee050e706544bfee70f1c6ca894be0b1a2a.tar.bz2
edk2-7761cee050e706544bfee70f1c6ca894be0b1a2a.zip
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>
Diffstat (limited to 'BaseTools/Source')
-rw-r--r--BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py17
1 files changed, 0 insertions, 17 deletions
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
@@ -593,23 +593,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,
Align=None, Padding=None, Convert=False, IsMakefile=False):