mirror_qemu/hw/ssi
Guenter Roeck 7faf6f1790 aspeed/smc: Fix number of dummy cycles for FAST_READ_4 command
The Linux kernel recently started using FAST_READ_4 commands.
This results in flash read failures. At the same time, the m25p80
emulation is seen to read 8 more bytes than expected. Adjusting the
expected number of dummy cycles to match FAST_READ fixes the problem.

Fixes: f95c4bffdc ("aspeed/smc: snoop SPI transfers to fake dummy cycles")
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-03-17 11:36:44 +00:00
..
Kconfig ssi: express dependencies with kconfig 2019-03-07 21:45:53 +01:00
Makefile.objs hw/*/Makefile.objs: Move many .o files to common-objs 2020-02-04 09:00:57 +01:00
aspeed_smc.c aspeed/smc: Fix number of dummy cycles for FAST_READ_4 command 2020-03-17 11:36:44 +00:00
imx_spi.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
mss-spi.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
omap_spi.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
pl022.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ssi.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
stm32f2xx_spi.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
trace-events aspeed/smc: Fix User mode select/unselect scheme 2020-03-12 16:01:37 +00:00
xilinx_spi.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
xilinx_spips.c xilinx_spips: Correct the number of dummy cycles for the FAST_READ_4 cmd 2020-02-21 16:07:02 +00:00