xilinx_spips: Correct the number of dummy cycles for the FAST_READ_4 cmd
PATCH 1/1 xilinx_spips: Correct the number of dummy cycles for the FAST_READ_4 cmd
From: Francisco Iglesias <[email protected]>
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 <[email protected]>
Signed-off-by Francisco Iglesias <[email protected]>
--- hw/ssi/xilinx_spips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ssi/xilinx_spips.c +1 -1
@@ -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 :
Signature · 1 line
2.11.0
Quoted 8 lines · Francisco Iglesias
From: Francisco Iglesias <[email protected]>
Correct the number of dummy cycles required by the
FAST_READ_4command (to be eight, one dummy byte).Fixes ef06ca3946 ("xilinx_spips: Add support for RX discard and RX drain")Suggested-by Cédric Le Goater <[email protected]>Signed-off-by Francisco Iglesias <[email protected]>
Reviewed-by Edgar E. Iglesias <[email protected]>
Quoted 24 lines
--- hw/ssi/xilinx_spips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/ssi/xilinx_spips.c +1
-1@@ -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 :Signature · 1 line
2.11.0
Peter Maydell
AppliedQuoted 4 lines · Edgar E. Iglesias
Quoted 2 lines · Francisco Iglesias
From: Francisco Iglesias <[email protected]>
Quoted 8 lines
Quoted 6 lines
Correct the number of dummy cycles required by the
FAST_READ_4command (to be eight, one dummy byte).Fixes ef06ca3946 ("xilinx_spips: Add support for RX discard and RX drain")Suggested-by Cédric Le Goater <[email protected]>Signed-off-by Francisco Iglesias <[email protected]>Reviewed-by Edgar E. Iglesias <[email protected]>
Applied to target-arm.next, thanks.
-- PMM