[PATCH v2 0/1] hw/block/m25p80: Fix Numonyx flash dummy cycle register behavior

Joe Komlodi posted 1 patch 3 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1603842220-215321-1-git-send-email-komlodi@xilinx.com
Maintainers: Alistair Francis <alistair@alistair23.me>, Max Reitz <mreitz@redhat.com>, Kevin Wolf <kwolf@redhat.com>
hw/block/m25p80.c | 26 +++++++++++++++++++++++---
1 file changed, 23 insertions(+), 3 deletions(-)
[PATCH v2 0/1] hw/block/m25p80: Fix Numonyx flash dummy cycle register behavior
Posted by Joe Komlodi 3 years, 6 months ago
Changelog:
v1 -> v2
 - 1/2: Change function name to be more accurate
 - 2/2: Dropped

Hi all,

The series fixes the behavior of the dummy cycle register for Numonyx flashes so
it's closer to how hardware behaves.

On hardware, the dummy cycles for fast read commands are set to a specific value
(8 or 10) if the register is all 0s or 1s.
If the register value isn't all 0s or 1s, then the flash expects the amount of
cycles sent to be equal to the count in the register.

Thanks!
Joe

Joe Komlodi (1):
  hw/block/m25p80: Fix Numonyx fast read dummy cycle count

 hw/block/m25p80.c | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

-- 
2.7.4