qemu-e2k/hw/sd
Peter Maydell ecd219f7ab hw/sd/omap_mmc: Reset SD card on controller reset
Since omap_mmc 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 would mean that
migration fails because it's only in sd_reset() that we
set up the wpgrps_size field.

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-5-git-send-email-peter.maydell@linaro.org
2018-01-16 13:28:13 +00:00
..
bcm2835_sdhost.c
core.c
Makefile.objs
milkymist-memcard.c hw/sd/milkymist-memcard: Reset SD card on controller reset 2018-01-16 13:28:12 +00:00
omap_mmc.c hw/sd/omap_mmc: Reset SD card on controller reset 2018-01-16 13:28:13 +00:00
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 hw/sd/ssi-sd: Reset SD card on controller reset 2018-01-16 13:28:12 +00:00
trace-events hw/sd/pxa2xx_mmci: add read/write() trace events 2018-01-11 13:25:39 +00:00