qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] hw/block/m25p80: Fix Numonyx flash dummy cycle register behavior
@ 2020-10-27 23:43 Joe Komlodi
  2020-10-27 23:43 ` [PATCH v2 1/1] hw/block/m25p80: Fix Numonyx fast read dummy cycle count Joe Komlodi
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Komlodi @ 2020-10-27 23:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: figlesia, kwolf, alistair, qemu-block, mreitz

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-29  6:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-27 23:43 [PATCH v2 0/1] hw/block/m25p80: Fix Numonyx flash dummy cycle register behavior Joe Komlodi
2020-10-27 23:43 ` [PATCH v2 1/1] hw/block/m25p80: Fix Numonyx fast read dummy cycle count Joe Komlodi
2020-10-28  9:26   ` Philippe Mathieu-Daudé
2020-10-28 23:15     ` Joe Komlodi
2020-10-29  6:53       ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).