diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-09-20 14:10:04 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-09-25 11:18:22 +0800 |
commit | e921f58d44587c77b843a6332b43f171a44b76cb (patch) | |
tree | 1d8a456c3a8da697e39bc755c26ed4e8ed8b8529 /BaseTools/Source/C/GenSec | |
parent | 79777358cd5dbdbb267ebd02405584321292f06a (diff) | |
download | edk2-e921f58d44587c77b843a6332b43f171a44b76cb.zip edk2-e921f58d44587c77b843a6332b43f171a44b76cb.tar.gz edk2-e921f58d44587c77b843a6332b43f171a44b76cb.tar.bz2 |
BaseTools: extend FFS alignment to 16M
Current FFS only supports 64KiB alignment for data, Per PI 1.6
requirement, we extend FFS alignment to 16M.
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/C/GenSec')
-rw-r--r-- | BaseTools/Source/C/GenSec/GenSec.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/BaseTools/Source/C/GenSec/GenSec.c b/BaseTools/Source/C/GenSec/GenSec.c index c0e4de2..d9cdc1f 100644 --- a/BaseTools/Source/C/GenSec/GenSec.c +++ b/BaseTools/Source/C/GenSec/GenSec.c @@ -74,7 +74,8 @@ STATIC CHAR8 *mGUIDedSectionAttribue[] = { "NONE", "PROCESSING_REQUIRED", STATIC CHAR8 *mAlignName[] = {
"1", "2", "4", "8", "16", "32", "64", "128", "256", "512",
- "1K", "2K", "4K", "8K", "16K", "32K", "64K"
+ "1K", "2K", "4K", "8K", "16K", "32K", "64K", "128K", "256K",
+ "512K", "1M", "2M", "4M", "8M", "16M"
};
//
@@ -184,7 +185,7 @@ Returns: used in Ver section.\n");
fprintf (stdout, " --sectionalign SectionAlign\n\
SectionAlign points to section alignment, which support\n\
- the alignment scope 1~64K. It is specified in same\n\
+ the alignment scope 1~16M. It is specified in same\n\
order that the section file is input.\n");
fprintf (stdout, " -v, --verbose Turn on verbose output with informational messages.\n");
fprintf (stdout, " -q, --quiet Disable all messages except key message and fatal error\n");
@@ -356,7 +357,7 @@ StringtoAlignment ( Routine Description:
- Converts Align String to align value (1~64K).
+ Converts Align String to align value (1~16M).
Arguments:
|