[PATCH 6/6] mmc_spi: generate R1b response for erase and stop transmission command

Bin Meng bmeng.cn at gmail.com
Wed Jul 8 07:22:04 CEST 2020


On Mon, Jun 29, 2020 at 5:48 PM Pragnesh Patel
<pragnesh.patel at sifive.com> wrote:
>
> 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 at sifive.com>
> ---
>  drivers/mmc/mmc_spi.c | 32 ++++++++++++++++++++++++++++----
>  1 file changed, 28 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bin.meng at windriver.com>
Tested-by: Bin Meng <bin.meng at windriver.com>


More information about the U-Boot mailing list