audk/OvmfPkg/VirtNorFlashDxe
Gerd Hoffmann 28ffd72689 OvmfPkg/VirtNorFlashDxe: add a loop for NorFlashWriteBuffer calls.
Replace the two NorFlashWriteBuffer() calls with a loop containing a
single NorFlashWriteBuffer() call.

With the changes in place the code is able to handle updates larger
than two P30_MAX_BUFFER_SIZE_IN_BYTES blocks, even though the patch
does not actually change the size limit.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20240116171105.37831-4-kraxel@redhat.com>
2024-01-18 19:25:14 +00:00
..
VirtNorFlash.c OvmfPkg/VirtNorFlashDxe: add a loop for NorFlashWriteBuffer calls. 2024-01-18 19:25:14 +00:00
VirtNorFlash.h OvmfPkg/VirtNorFlashDxe: add casts to UINTN and UINT32 2024-01-18 19:25:14 +00:00
VirtNorFlashDxe.c OvmfPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
VirtNorFlashDxe.inf OvmfPkg/VirtNorFlashDxe: sanity-check variables 2024-01-09 16:31:57 +00:00
VirtNorFlashFvb.c OvmfPkg/VirtNorFlashDxe: sanity-check variables 2024-01-09 16:31:57 +00:00