hw/sd: implement CMD23 (SET_BLOCK_COUNT) for MMC compatibility
commit4481bbc79d2ae6041094797243972efd08b2f6b0
authorAndrew Baumann <Andrew.Baumann@microsoft.com>
Thu, 18 Feb 2016 14:16:19 +0000 (18 14:16 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Feb 2016 14:50:50 +0000 (18 14:50 +0000)
tree04bf55f75b221dc31959618b916987f34151e235
parent6002915e0c3a6e30dfab18606f23f3149800be18
hw/sd: implement CMD23 (SET_BLOCK_COUNT) for MMC compatibility

CMD23 is optional for SD but required for MMC, and the UEFI bootloader
used for Windows on Raspberry Pi 2 issues it.

Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Message-id: 1454902521-21164-2-git-send-email-Andrew.Baumann@microsoft.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/sd.c