mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
4a823e23b1
commit
eaeb45076e
|
@ -14,6 +14,7 @@
|
|||
##
|
||||
|
||||
################################################################################
|
||||
!ifndef $(FD_SIZE_2MB)
|
||||
[FD.OVMF]
|
||||
BaseAddress = 0xFFF00000
|
||||
Size = 0x00100000
|
||||
|
@ -26,6 +27,20 @@ FV = FVMAIN_COMPACT
|
|||
|
||||
0x000EC000|0x14000
|
||||
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
|
||||
|
||||
################################################################################
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
##
|
||||
|
||||
################################################################################
|
||||
!ifndef $(FD_SIZE_2MB)
|
||||
[FD.OVMF]
|
||||
BaseAddress = 0xFFF00000
|
||||
Size = 0x00100000
|
||||
|
@ -26,6 +27,20 @@ FV = FVMAIN_COMPACT
|
|||
|
||||
0x000EC000|0x14000
|
||||
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
|
||||
|
||||
################################################################################
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
################################################################################
|
||||
|
||||
|
|
Loading…
Reference in New Issue