diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-10-09 09:30:06 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-10-12 12:48:44 +0800 |
commit | 19e3aa7a8a8dcd661e0c2c45d139c5a6bda57dbb (patch) | |
tree | 3266112711adfa2de8a8e5a6ee13d007aa6e5d2e /BaseTools/Source/Python/GenFds/CapsuleData.py | |
parent | ac9f5a295c51a4c1b3a1e03ca0855b4c7a4e5d43 (diff) | |
download | edk2-platforms-19e3aa7a8a8dcd661e0c2c45d139c5a6bda57dbb.tar.xz |
BaseTools: Extend FMP to support FV statement and FD statement
This patch extend the <FmpFileData> to support <FvStatements> and
<FdStatenents>, just like the normal [Capsule] section format.
In order to fix the bug https://bugzilla.tianocore.org/show_bug.cgi?id=132
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/CapsuleData.py')
-rw-r--r-- | BaseTools/Source/Python/GenFds/CapsuleData.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/GenFds/CapsuleData.py b/BaseTools/Source/Python/GenFds/CapsuleData.py index 07cc1981d6..d7a6d54aa8 100644 --- a/BaseTools/Source/Python/GenFds/CapsuleData.py +++ b/BaseTools/Source/Python/GenFds/CapsuleData.py @@ -179,8 +179,8 @@ class CapsulePayload(CapsuleData): self.ImageTypeId = None
self.ImageIndex = None
self.HardwareInstance = None
- self.ImageFile = None
- self.VendorCodeFile = None
+ self.ImageFile = []
+ self.VendorCodeFile = []
self.Certificate_Guid = None
self.MonotonicCount = None
|