]> git.proxmox.com Git - mirror_edk2.git/commit - ArmVirtPkg/ArmVirtQemuKernel.fdf
ArmVirtPkg: add FDF definition for empty varstore
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 21 Jun 2016 10:23:43 +0000 (12:23 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 23 Jun 2016 14:07:38 +0000 (16:07 +0200)
commitbf57a42a0e2cf1c68e9db2f61c82ce93c806ab07
tree63175836adb16754dda55bcbf68e99c842c176c3
parent733c0c88c358ef76fc9182c654a4a55d36f44704
ArmVirtPkg: add FDF definition for empty varstore

Similar to how OVMF implements this, add a FD definition for the varstore
firmware volume and the FTW areas. The template was taken from the file
OvmfPkg/VarStore.fdf.inc, and subsequently modified to accommodate the
differences in NOR flash layout. This affects the FvLength, Checksum and
BlockMap[0] fields in the FV header, the Size field of the varstore header,
and the Crc and WriteQueueSize fields of the FTW header. The event log
region is not used by ArmVirtQemu, so it has been omitted.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/ArmVirtQemu.dsc
ArmVirtPkg/ArmVirtQemu.fdf
ArmVirtPkg/ArmVirtQemuKernel.dsc
ArmVirtPkg/ArmVirtQemuKernel.fdf
ArmVirtPkg/VarStore.fdf.inc [new file with mode: 0644]