]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc_spi: generate R1b response for erase and stop transmission command
authorPragnesh Patel <pragnesh.patel@sifive.com>
Mon, 29 Jun 2020 09:47:29 +0000 (15:17 +0530)
committerPeng Fan <peng.fan@nxp.com>
Tue, 14 Jul 2020 08:19:47 +0000 (16:19 +0800)
commited4a11cb7d19a26dd0625bc468ef930c035a71b2
treea250f992f4037e82d3648b7d773fa9a4062657f8
parent6f4555af8471491d7f8c01187a97f2b0fcedc286
mmc_spi: generate R1b response for erase and stop transmission command

As per the SD physical layer specification version 7.10, erase
command (CMD38) and stop transmission command (CMD12) will generate
R1b response.

R1b = R1 + busy signal

A non-zero value after the R1 response indicates card is ready for
next command.

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