
8 Jul
2020
8 Jul
'20
7:21 a.m.
On Mon, Jun 29, 2020 at 5:48 PM Pragnesh Patel pragnesh.patel@sifive.com wrote:
Send status command (CMD13) will send R1 response under SD mode but R2 response under SPI mode.
R2 response is 2 bytes long, so read 2 bytes for mmc SPI mode
Signed-off-by: Pragnesh Patel pragnesh.patel@sifive.com
drivers/mmc/mmc_spi.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
Reviewed-by: Bin Meng bin.meng@windriver.com Tested-by: Bin Meng bin.meng@windriver.com