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
..
2018-01-08 11:18:23 +01:00
2017-12-18 17:07:02 +03:00
2017-12-22 15:03:41 +01:00
2017-12-18 17:07:03 +03:00
2017-10-27 16:03:54 +02:00
2017-12-18 17:07:02 +03:00
2017-12-15 09:49:23 +11:00
2017-12-05 19:13:45 +02:00
2017-12-22 09:01:09 -05:00
2017-12-18 17:07:03 +03:00
2017-08-30 18:23:25 +02:00