qemu/hw/sd
Peter Maydell 16bf0e0e7a hw/sd/milkymist-memcard: Reset SD card on controller reset
Since milkymist-memcard is still using the legacy SD card API,
the SD card created by sd_init() is not plugged into any bus.
This means that the controller has to reset it manually.

Failing to do this mostly didn't affect the guest since the
guest typically does a programmed SD card reset as part of
its SD controller driver initialization, but meant that
migration failed because it's only in sd_reset() that we
set up the wpgrps_size field.

Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1515506513-31961-3-git-send-email-peter.maydell@linaro.org
2018-01-16 13:28:12 +00:00
..
bcm2835_sdhost.c bcm2835_sdhost: add bcm2835 sdhost controller 2017-02-28 12:08:19 +00:00
core.c hw/sd: add card-reparenting function 2017-02-28 17:10:00 +00:00
Makefile.objs bcm2835_sdhost: add bcm2835 sdhost controller 2017-02-28 12:08:19 +00:00
milkymist-memcard.c hw/sd/milkymist-memcard: Reset SD card on controller reset 2018-01-16 13:28:12 +00:00
omap_mmc.c
pl181.c hw/sd/pl181: Reset SD card on controller reset 2018-01-16 13:28:11 +00: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: fix out-of-bounds check for multi block reads 2017-10-06 16:46:47 +01:00
sdhci-internal.h
sdhci.c pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices 2017-10-15 05:54:43 +03:00
ssi-sd.c
trace-events hw/sd/pxa2xx_mmci: add read/write() trace events 2018-01-11 13:25:39 +00:00