summaryrefslogtreecommitdiff
path: root/OvmfPkg/Microvm
diff options
context:
space:
mode:
authorChao Li <lichao@loongson.cn>2024-05-06 11:13:41 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-06-04 22:51:09 +0000
commitcac1ea6c2a6eac1772556e718154a00fcb093b88 (patch)
tree8c2b228db35acfe00fdb65690e0b5419a973deb0 /OvmfPkg/Microvm
parentde4cc40b8c1d9044df82e077e72ef6e192ea12e2 (diff)
downloadedk2-cac1ea6c2a6eac1772556e718154a00fcb093b88.zip
edk2-cac1ea6c2a6eac1772556e718154a00fcb093b88.tar.gz
edk2-cac1ea6c2a6eac1772556e718154a00fcb093b88.tar.bz2
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 <ardb+tianocore@kernel.org> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Chao Li <lichao@loongson.cn> Co-authored-by: Xianglai Li <lixianglai@loongson.cn> Tested-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'OvmfPkg/Microvm')
0 files changed, 0 insertions, 0 deletions