qemu-e2k/include/hw/ssi
Cédric Le Goater f95c4bffdc aspeed/smc: snoop SPI transfers to fake dummy cycles
The m25p80 models dummy cycles using byte transfers. This works well
when the transfers are initiated by the QEMU model of a SPI controller
but when these are initiated by the OS, it breaks emulation.

Snoop the SPI transfer to catch commands requiring dummy cycles and
replace them with byte transfers compatible with the m25p80 model.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-id: 20190124140519.13838-5-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-01-29 11:46:05 +00:00
..
aspeed_smc.h aspeed/smc: snoop SPI transfers to fake dummy cycles 2019-01-29 11:46:05 +00:00
imx_spi.h
mss-spi.h msf2: Add Smartfusion2 SPI controller 2017-09-21 16:36:56 +01:00
pl022.h hw/ssi/pl022: Allow use as embedded-struct device 2018-08-24 13:17:44 +01:00
ssi.h ssi: change ssi_slave_init to be a realize ops 2016-07-04 13:15:22 +01:00
stm32f2xx_spi.h STM32F2xx: Add the SPI device 2016-10-04 13:28:07 +01:00
xilinx_spips.h xilinx_spips: Make dma transactions as per dma_burst_size 2018-06-26 17:50:39 +01:00