qemu/hw/sd
Andrew Baumann 62d32ec817 sdhci: don't raise a command index error for an unexpected response
This deletes a block of code that raised a command index error if a
command returned response data, but the guest did not set the
appropriate bits in the response register to handle such a response. I
cannot find any documentation that suggests the controller should
behave in this way, the error code doesn't make sense (command index
error is defined for the case where the index in a response does not
match that of the issued command), and in at least one case (CMD23
issued by UEFI on Raspberry Pi 2), actual hardware does not do this.

Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Message-id: 1450738069-18664-3-git-send-email-Andrew.Baumann@microsoft.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-12-22 16:34:26 +08:00
..
Makefile.objs
milkymist-memcard.c sd.h: Move sd.h to include/hw/sd/ 2015-10-29 17:59:27 +00:00
omap_mmc.c sd.h: Move sd.h to include/hw/sd/ 2015-10-29 17:59:27 +00:00
pl181.c sd.h: Move sd.h to include/hw/sd/ 2015-10-29 17:59:27 +00:00
pxa2xx_mmci.c sd.h: Move sd.h to include/hw/sd/ 2015-10-29 17:59:27 +00:00
sd.c sd: Mark brittle abuse of blk_attach_dev() FIXME 2015-12-07 17:13:10 +00:00
sdhci-internal.h sdhci: Split sdhci.h for public and internal device usage 2015-10-29 17:59:27 +00:00
sdhci.c sdhci: don't raise a command index error for an unexpected response 2015-12-22 16:34:26 +08:00
ssi-sd.c sd.h: Move sd.h to include/hw/sd/ 2015-10-29 17:59:27 +00:00