On Mon, Jun 29, 2020 at 5:48 PM Pragnesh Patel <pragnesh.pa...@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.pa...@sifive.com> > --- > drivers/mmc/mmc_spi.c | 32 ++++++++++++++++++++++++++++---- > 1 file changed, 28 insertions(+), 4 deletions(-) >
Reviewed-by: Bin Meng <bin.m...@windriver.com> Tested-by: Bin Meng <bin.m...@windriver.com>