aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Iglesias <francisco.iglesias@xilinx.com>2020-02-18 12:33:50 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-02-21 16:07:02 +0000
commit33e2c4d8d3ff99af2280706dee5ce3385b78ff6d (patch)
tree935347ab0cf5c2abad0314ad7413c3b96494d7e4
parente7e96fc5ec8c79dc77fef522d5226ac09f684ba5 (diff)
downloadqemu-33e2c4d8d3ff99af2280706dee5ce3385b78ff6d.zip
qemu-33e2c4d8d3ff99af2280706dee5ce3385b78ff6d.tar.gz
qemu-33e2c4d8d3ff99af2280706dee5ce3385b78ff6d.tar.bz2
xilinx_spips: Correct the number of dummy cycles for the FAST_READ_4 cmd
Correct the number of dummy cycles required by the FAST_READ_4 command (to be eight, one dummy byte). Fixes: ef06ca3946 ("xilinx_spips: Add support for RX discard and RX drain") Suggested-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Francisco Iglesias <frasse.iglesias@gmail.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 20200218113350.6090-1-frasse.iglesias@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/ssi/xilinx_spips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/xilinx_spips.c b/hw/ssi/xilinx_spips.c
index 6c9ef59..c57850a 100644
--- a/hw/ssi/xilinx_spips.c
+++ b/hw/ssi/xilinx_spips.c
@@ -576,11 +576,11 @@ static int xilinx_spips_num_dummies(XilinxQSPIPS *qs, uint8_t command)
case FAST_READ:
case DOR:
case QOR:
+ case FAST_READ_4:
case DOR_4:
case QOR_4:
return 1;
case DIOR:
- case FAST_READ_4:
case DIOR_4:
return 2;
case QIOR: