Here is my updated patch to fix buffered flash writes on the VExpress
platform.  Buffered writes should now work properly on platforms whose
flash interface width is different from the device width.  The default
is for the device-width to be set to the interface width, so platforms
that can benefit from this change will need to be updated.  This patchset
updates the configuration for the VExpress platform which requires it.
UEFI firmware uses buffered writes for persistent variable storage,
and this patchset enables this usage on QEMU.


Changes from v1:
* Add device-width property and use this to mask write length instead
  of devices mas write length
* Update vexpress init code to set device-width to proper value.

Roy Franz (2):
  Add device-width property to pflash_cfi01
  Set proper device-width for vexpress flash

 hw/arm/vexpress.c       |   38 ++++++++++++++++++++++++++++++++++++--
 hw/block/pflash_cfi01.c |   21 +++++++++++++--------
 2 files changed, 49 insertions(+), 10 deletions(-)

-- 
1.7.10.4


Reply via email to