This series refactors some of the NOR flash code in ArmPlatformPkg and
ArmVirtPkg so that we can add an empty varstore definition to the
ArmVirtQemu amd ArmVirtQemuKernel FDFs. The refactoring is necessary to make
NorFlashDxe deal with either of the GUIDs gEfiAuthenticatedVariableGuid and
gEfiVariableGuid in the varstore FV headers, and is an improvement by itself,
since it allows us to get rid of the 'secure boot' flavor of NorFlashDxe.

Ard Biesheuvel (4):
  ArmPlatformPkg/NorFlashDxe: accept both non-secure and secure varstore
    GUIDs
  ArmVirtPkg/ArmVirtQemu: switch secure boot build to NorFlashDxe
  ArmPlatformPkg/NorFlashAuthenticatedDxe: remove this obsolete module
  ArmVirtPkg: add FDF definition for empty varstore

 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedDxe.inf       | 77 
-------------------
 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedVariableDep.c | 19 
-----
 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.h                      |  2 -
 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf                    |  2 +-
 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c                   |  5 +-
 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashVariableDep.c              | 19 
-----
 ArmVirtPkg/ArmVirtQemu.dsc                                            |  4 -
 ArmVirtPkg/ArmVirtQemu.fdf                                            |  5 +-
 ArmVirtPkg/ArmVirtQemuKernel.dsc                                      |  4 -
 ArmVirtPkg/ArmVirtQemuKernel.fdf                                      |  5 +-
 ArmVirtPkg/VarStore.fdf.inc                                           | 79 
++++++++++++++++++++
 11 files changed, 85 insertions(+), 136 deletions(-)
 delete mode 100644 
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedDxe.inf
 delete mode 100644 
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedVariableDep.c
 delete mode 100644 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashVariableDep.c
 create mode 100644 ArmVirtPkg/VarStore.fdf.inc

-- 
2.7.4

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to