Home
last modified time | relevance | path

Searched hist:"03 a31776" (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/sd/
H A Dbcm2835_sdhost.c03a31776 Mon Jul 23 14:21:26 GMT 2018 Guenter Roeck <linux@roeck-us.net> 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>