Re: [edk2-devel] [PATCH 2/4] OvmfPkg/VirtNorFlashDxe: clarify block write logic

2024-01-12 Thread Ard Biesheuvel
On Fri, 12 Jan 2024 at 12:38, Gerd Hoffmann wrote: > > Introduce Start and End variables to make it easier to follow the > logic and code flow. Also replace the two NorFlashWriteBuffer calls > with a loop containing one call. > > With the changes in place the code is able to handle updates

[edk2-devel] [PATCH 2/4] OvmfPkg/VirtNorFlashDxe: clarify block write logic

2024-01-12 Thread Gerd Hoffmann
Introduce Start and End variables to make it easier to follow the logic and code flow. Also replace the two NorFlashWriteBuffer calls with a loop containing one 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