]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
BaseTools: Fix the bug for RAW file alignment value support
authorYonghong Zhu <yonghong.zhu@intel.com>
Tue, 27 Dec 2016 09:52:12 +0000 (17:52 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 29 Dec 2016 08:58:17 +0000 (16:58 +0800)
commitd2192f12b2d0b93416ff63ac73a3276a07d26c9e
tree3bd24a004e5a3eb7c24f1dcc77f4bd8220cb82fe
parent63022be1e5c9c5a1971fcb99e64eefaa338c5a06
BaseTools: Fix the bug for RAW file alignment value support

Fix the bug for RAW file to support Align=32 and Align=64. Current FDF
spec FfsAlignmentValues support this two values, while it is not the
valid value for GenFfs. So this patch add the logic to handle it.

Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=248
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>
BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py