qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/1] xilinx_spips dummy bytes fix
@ 2018-04-18  7:41 Sai Pavan Boddu
  2018-04-18  7:41 ` [Qemu-devel] [PATCH v2 1/1] xilinx_spips: send dummy cycles only if cmd requires it Sai Pavan Boddu
  0 siblings, 1 reply; 4+ messages in thread
From: Sai Pavan Boddu @ 2018-04-18  7:41 UTC (permalink / raw)
  To: alistair, crosthwaite.peter, peter.maydell, edgar.iglesias,
	frasse.iglesias
  Cc: qemu-devel

For zynq-7000 boards, we saw issues when u-boot/linux accessing the qspi.
Issue is due to wrong dummy byte transfers for few of un-handled commands ex: 0x9F, 0x6, 0xe9, 0x4, 0x18, etc
There are many unhandled commands which do not require dummy bytes but they can be followed by address cycles.

To fix this issue for above commands, the next upcoming tx bytes are not considered dummies rather sent to slave directly.

Changes for V2:
	Fixed commit message
	Reordered to code, to avoid code duplication.


Sai Pavan Boddu (1):
  xilinx_spips: send dummy cycles only if cmd requires it

 hw/ssi/xilinx_spips.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-04-19  5:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-18  7:41 [Qemu-devel] [PATCH v2 0/1] xilinx_spips dummy bytes fix Sai Pavan Boddu
2018-04-18  7:41 ` [Qemu-devel] [PATCH v2 1/1] xilinx_spips: send dummy cycles only if cmd requires it Sai Pavan Boddu
2018-04-18 22:08   ` francisco iglesias
2018-04-19  5:57     ` Sai Pavan Boddu

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).