qemu-e2k/hw/sd
Guenter Roeck 03a31776e8 hw/sd/bcm2835_sdhost: Fix PIO mode writes
Writes in PIO mode have two requirements:

- A data interrupt must be generated after a write command has been
  issued to indicate that the chip is ready to receive data.
- A block interrupt must be generated after each block to indicate
  that the chip is ready to receive the next data block.

Rearrange the code to make this happen. Tested on raspi3 (in PIO mode)
and raspi2 (in DMA mode).

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Message-id: 1531779837-20557-1-git-send-email-linux@roeck-us.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-07-23 15:21:26 +01:00
..
bcm2835_sdhost.c hw/sd/bcm2835_sdhost: Fix PIO mode writes 2018-07-23 15:21:26 +01:00
core.c sd: Don't trace SDRequest crc field 2018-06-29 15:11:19 +01:00
Makefile.objs sdcard: Display command name when tracing CMD/ACMD 2018-03-09 17:09:44 +00:00
milkymist-memcard.c sdcard: Use the ldst API 2018-06-29 15:11:20 +01:00
omap_mmc.c hw/sd/omap_mmc: Split 'pseudo-reset' from 'power-on-reset' 2018-07-09 14:51:34 +01:00
pl181.c sdcard: Use the ldst API 2018-06-29 15:11:20 +01:00
pxa2xx_mmci.c hw/sd/pxa2xx_mmci: add read/write() trace events 2018-01-11 13:25:39 +00:00
sd.c hw/sd: Use the IEC binary prefix definitions 2018-07-02 15:41:16 +02:00
sdhci-internal.h sdhci: add Spec v4.2 register definitions 2018-02-13 16:15:09 +01:00
sdhci.c hw/sd: Use the IEC binary prefix definitions 2018-07-02 15:41:16 +02:00
sdmmc-internal.c sdcard: Display command name when tracing CMD/ACMD 2018-03-09 17:09:44 +00:00
sdmmc-internal.h sdcard: Display command name when tracing CMD/ACMD 2018-03-09 17:09:44 +00:00
ssi-sd.c sdcard: Use the ldst API 2018-06-29 15:11:20 +01:00
trace-events Pull request 2018-06-30 13:59:53 +01:00