[edk2-devel] [PATCH 0/2] ArmPlatformPkg/NorFlashDxe: implement standalone MM version

Masahisa Kojima masahisa.kojima at linaro.org
Fri Dec 18 10:05:14 UTC 2020


To support secure variable storage on the aarch64 SBSA-QEMU platform,
this patch series implement the NOR Flash driver for standalone MM.

What have been tested:
For DXE driver, uefi variable storage works fine on the ArmVirtQemu platform.
For Standalone MM driver, uefi secure variable storage works fine
on the SBSA-QEMU platform.
Note that SBSA-QEMU secure variable storage handling is not yet upstreamed,
because it needs this standalone MM NOR Flash driver.

Cc: Leif Lindholm <leif at nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel at arm.com>
Cc: Sami Mujawar <sami.mujawar at arm.com>
Cc: Jiewen Yao <jiewen.yao at intel.com>
Cc: Supreeth Venkatesh <supreeth.venkatesh at arm.com>

Masahisa Kojima (2):
  ArmPlatformPkg/NorFlashDxe: factor out DXE specific pieces
  ArmPlatformPkg/NorFlashDxe: implement standalone MM version

 .../Drivers/NorFlashDxe/NorFlashDxe.inf       |    5 +-
 ...rFlashDxe.inf => NorFlashStandaloneMm.inf} |   40 +-
 .../NorFlashDxe/{NorFlashDxe.h => NorFlash.h} |   86 +-
 .../NorFlashDxe/{NorFlashDxe.c => NorFlash.c} |  372 +-----
 .../Drivers/NorFlashDxe/NorFlashBlockIoDxe.c  |    2 +-
 .../Drivers/NorFlashDxe/NorFlashDxe.c         | 1066 ++---------------
 .../{NorFlashFvbDxe.c => NorFlashFvb.c}       |  107 +-
 .../NorFlashDxe/NorFlashStandaloneMm.c        |  364 ++++++
 8 files changed, 573 insertions(+), 1469 deletions(-)
 copy ArmPlatformPkg/Drivers/NorFlashDxe/{NorFlashDxe.inf => NorFlashStandaloneMm.inf} (59%)
 rename ArmPlatformPkg/Drivers/NorFlashDxe/{NorFlashDxe.h => NorFlash.h} (85%)
 copy ArmPlatformPkg/Drivers/NorFlashDxe/{NorFlashDxe.c => NorFlash.c} (71%)
 rename ArmPlatformPkg/Drivers/NorFlashDxe/{NorFlashFvbDxe.c => NorFlashFvb.c} (85%)
 create mode 100644 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashStandaloneMm.c

-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#69177): https://edk2.groups.io/g/devel/message/69177
Mute This Topic: https://groups.io/mt/79058286/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list