summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorCarsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben>2018-04-14 04:51:36 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-04-17 20:49:55 +0800
commit80bfbd3e832019ec733d04931079e956466066ba (patch)
tree8388f6213aed424479d180f2f94f09b353753fbc /BaseTools
parent227dbb11905008602b583b06f2b84e741bdd09e0 (diff)
downloadedk2-80bfbd3e832019ec733d04931079e956466066ba.tar.gz
edk2-80bfbd3e832019ec733d04931079e956466066ba.tar.bz2
edk2-80bfbd3e832019ec733d04931079e956466066ba.zip
BaseTools: FfsInfStatement - remove unused function
Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@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')
-rw-r--r--BaseTools/Source/Python/GenFds/FfsInfStatement.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/BaseTools/Source/Python/GenFds/FfsInfStatement.py b/BaseTools/Source/Python/GenFds/FfsInfStatement.py
index 4f9936a973..8ae29b285d 100644
--- a/BaseTools/Source/Python/GenFds/FfsInfStatement.py
+++ b/BaseTools/Source/Python/GenFds/FfsInfStatement.py
@@ -1065,27 +1065,6 @@ class FfsInfStatement(FfsInfStatementClassObject):
)
return FfsOutput
- ## __GetGenFfsCmdParameter__() method
- #
- # Create parameter string for GenFfs
- #
- # @param Rule The rule object used to generate section
- # @retval tuple (FileType, Fixed, CheckSum, Alignment)
- #
- @staticmethod
- def __GetGenFfsCmdParameter__(Rule):
- result = tuple()
- result += ('-t', Ffs.Ffs.FdfFvFileTypeToFileType[Rule.FvFileType])
- if Rule.Fixed != False:
- result += ('-x',)
- if Rule.CheckSum != False:
- result += ('-s',)
-
- if Rule.Alignment is not None and Rule.Alignment != '':
- result += ('-a', Rule.Alignment)
-
- return result
-
## __GetBuildOutputMapFileVfrUniInfo() method
#
# Find the offset of UNI/INF object offset in the EFI image file.