OvmfPkg/VirtNorFlash: Move low level NOR flash functions into library

This patch refactors low level NOR flash functions into a dedicated library
to enable reuse, particularly for supporting the firmware upgrade feature.

Signed-off-by: Tuan Phan <tphan@ventanamicro.com>
This commit is contained in:
Tuan Phan
2025-05-27 14:04:21 -07:00
committed by mergify[bot]
parent e64983d53d
commit 6fff3da225
11 changed files with 737 additions and 611 deletions

View File

@@ -120,6 +120,10 @@
# transports.
VirtioMmioDeviceLib|Include/Library/VirtioMmioDeviceLib.h
## @libraryclass Provides a Device Nor flash interface.
#
VirtNorFlashDeviceLib|Include/Library/VirtNorFlashDeviceLib.h
## @libraryclass Provides a Nor flash interface.
#
VirtNorFlashPlatformLib|Include/Library/VirtNorFlashPlatformLib.h