diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-10-04 15:41:15 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-10-04 15:41:15 +0000 |
commit | eaeb45076e569a5b3b159aba0ecd425c4a27a2f3 (patch) | |
tree | 826d75c860980af826b7010695e5e9caa1551ef8 /OvmfPkg/OvmfPkgX64.fdf | |
parent | 4a823e23b119bfb9b0182e8717a0ea5139f82190 (diff) | |
download | edk2-eaeb45076e569a5b3b159aba0ecd425c4a27a2f3.tar.gz edk2-eaeb45076e569a5b3b159aba0ecd425c4a27a2f3.tar.bz2 edk2-eaeb45076e569a5b3b159aba0ecd425c4a27a2f3.zip |
Here is a patch that by default keeps the current 1MB FD sizes. If FD_SIZE_2MB is defined, then 2MB FD sizes will be used.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13782 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/OvmfPkgX64.fdf')
-rw-r--r-- | OvmfPkg/OvmfPkgX64.fdf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf index 74ae134cd5..d74043dfc7 100644 --- a/OvmfPkg/OvmfPkgX64.fdf +++ b/OvmfPkg/OvmfPkgX64.fdf @@ -14,6 +14,7 @@ ##
################################################################################
+!ifndef $(FD_SIZE_2MB)
[FD.OVMF]
BaseAddress = 0xFFF00000
Size = 0x00100000
@@ -26,6 +27,20 @@ FV = FVMAIN_COMPACT 0x000E6000|0x1A000
FV = SECFV
+!else
+[FD.OVMF]
+BaseAddress = 0xFFE00000
+Size = 0x00200000
+ErasePolarity = 1
+BlockSize = 0x1000
+NumBlocks = 0x200
+
+0x00000000|0x001CC000
+FV = FVMAIN_COMPACT
+
+0x001CC000|0x34000
+FV = SECFV
+!endif
################################################################################
|