aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi
diff options
context:
space:
mode:
authorFrancisco Iglesias <frasse.iglesias@gmail.com>2018-03-01 11:05:44 +0000
committerPeter Maydell <peter.maydell@linaro.org>2018-03-01 11:05:44 +0000
commitb8cc8503521282fe741e4d24ade9157210fdf3ba (patch)
treeba62264e2d4bf682c36eab7e53dd909f7e010b61 /hw/ssi
parent0c4a94b8e3904cffedfbb959587ddce8643e45fd (diff)
downloadqemu-b8cc8503521282fe741e4d24ade9157210fdf3ba.zip
qemu-b8cc8503521282fe741e4d24ade9157210fdf3ba.tar.gz
qemu-b8cc8503521282fe741e4d24ade9157210fdf3ba.tar.bz2
xilinx_spips: Use 8 dummy cycles with the QIOR/QIOR4 commands
Use 8 dummy cycles (4 dummy bytes) with the QIOR/QIOR4 commands in legacy mode for matching what is expected by Micron (Numonyx) flashes (the default target flash type of the QSPI). Signed-off-by: Francisco Iglesias <frasse.iglesias@gmail.com> Tested-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Message-id: 20180223232233.31482-3-frasse.iglesias@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/ssi')
-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 0cb484e..426f971 100644
--- a/hw/ssi/xilinx_spips.c
+++ b/hw/ssi/xilinx_spips.c
@@ -577,7 +577,7 @@ static int xilinx_spips_num_dummies(XilinxQSPIPS *qs, uint8_t command)
return 2;
case QIOR:
case QIOR_4:
- return 5;
+ return 4;
default:
return -1;
}