Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: cac1ea6c2a6eac1772556e718154a00fcb093b88
      
https://github.com/tianocore/edk2/commit/cac1ea6c2a6eac1772556e718154a00fcb093b88
  Author: Chao Li <[email protected]>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    A OvmfPkg/Library/FdtNorFlashQemuLib/FdtNorFlashQemuLib.c
    A OvmfPkg/Library/FdtNorFlashQemuLib/FdtNorFlashQemuLib.inf

  Log Message:
  -----------
  OvmfPkg: Add no hardcode version of FdtNorFlashQemuLib

This library is copied from ArmVirtPkg, in the Arm version, the value of
PcdFlashNvStorageVariableBase, PcdFlashNvStorageFtwWorkingBase and
PcdFlashNvStorageFtwSpareBase are hardcoded in INC file.

This version will calculate them from FDT resource and using the set PCD
to store when the NorFlashInitialise is called. By default, the first
available flash(not used for storage UEFI code) as NV variable storage
medium.

In this way, UEFI can better handle the change of flash base address,
which is suitable for different cpu architecture board implementation.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4770

Cc: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Sami Mujawar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Jiewen Yao <[email protected]>
Signed-off-by: Chao Li <[email protected]>
Co-authored-by: Xianglai Li <[email protected]>
Tested-by: Gerd Hoffmann <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>


  Commit: 7772e339bdbbaad81e84086eec0f8577e54e0f28
      
https://github.com/tianocore/edk2/commit/7772e339bdbbaad81e84086eec0f8577e54e0f28
  Author: Chao Li <[email protected]>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M ArmVirtPkg/ArmVirtQemu.dsc
    M ArmVirtPkg/ArmVirtQemuKernel.dsc
    M ArmVirtPkg/VarStore.fdf.inc

  Log Message:
  -----------
  ArmVirtPkg: Enable the non-hardcode version FdtNorFlashQemuLib

Enable the non-hardcode version of FdtNorFlashQemuLib in ArmVirtQemu.dsc
and ArmVirtQemuKernel.dsc, and it can work rightly after enabling it.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4770

Build-tested (with "ArmVirtQemu.dsc" and "ArmVirtQemuKernel.dsc").

Cc: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Sami Mujawar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Jiewen Yao <[email protected]>
Signed-off-by: Chao Li <[email protected]>
Co-authored-by: Xianglai Li <[email protected]>
Tested-by: Gerd Hoffmann <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/de4cc40b8c1d...7772e339bdbb

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to