diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-01-16 18:11:02 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-18 19:25:14 +0000 |
commit | 28ffd726894f11a587a6ac7f71a4c4af341e24d2 (patch) | |
tree | 4577a144c887c4bb0ddfa9229f58b1ccd2bcf574 /BaseTools/Source/Python | |
parent | 35d8ea8097794b522149688b5cfaf8364bc44d54 (diff) | |
download | edk2-28ffd726894f11a587a6ac7f71a4c4af341e24d2.zip edk2-28ffd726894f11a587a6ac7f71a4c4af341e24d2.tar.gz edk2-28ffd726894f11a587a6ac7f71a4c4af341e24d2.tar.bz2 |
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>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions