diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2018-01-16 13:28:13 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2018-01-16 13:28:13 +0000 |
| commit | ecd219f7abbc17b9d9170206410355bba287831f (patch) | |
| tree | 536f23521d37fd2a4472488e4565312443a668ec /scripts/qemu.py | |
| parent | 8046d44f3c9f67828d3368797d4d314433ee75e9 (diff) | |
| download | focaccia-qemu-ecd219f7abbc17b9d9170206410355bba287831f.tar.gz focaccia-qemu-ecd219f7abbc17b9d9170206410355bba287831f.zip | |
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
Diffstat (limited to 'scripts/qemu.py')
0 files changed, 0 insertions, 0 deletions