sd: sdhci: Remove block count enable check in single block transfers
commit241999bf4c0dd75d300ceee46f7ad28b3a39fe97
authorPrasad J Pandit <pjp@fedoraproject.org>
Tue, 28 Feb 2017 12:08:15 +0000 (28 12:08 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Feb 2017 12:08:15 +0000 (28 12:08 +0000)
tree9c09ef58bba8f672d506bcfa8b41d24518d07cb7
parent45ba9f761bde329cc5ef276b571bd4f3c41a044e
sd: sdhci: Remove block count enable check in single block transfers

In SDHCI protocol, the 'Block count enable' bit of the Transfer
Mode register is relevant only in multi block transfers. We need
not check it in single block transfers.

Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-id: 20170214185225.7994-5-ppandit@redhat.com
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/sdhci.c