]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: mmc_spi: generate R1 response for different mmc SPI commands
authorPragnesh Patel <pragnesh.patel@sifive.com>
Mon, 29 Jun 2020 09:47:25 +0000 (15:17 +0530)
committerPeng Fan <peng.fan@nxp.com>
Tue, 14 Jul 2020 08:19:42 +0000 (16:19 +0800)
commita236d834fa431191b80e15088995ee4d06685674
tree6a646df89dff4df9545f4b3e0b91dc1fe6b32b0b
parent3ba1d53c420c321a72312902b735680491988bad
mmc: mmc_spi: generate R1 response for different mmc SPI commands

R1 response is 1 byte long for mmc SPI commands as per the updated
physical layer specification version 7.10.

So correct the resp and resp_size for existing commands

Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Bin Meng <bin.meng@windriver.com>
drivers/mmc/mmc_spi.c