]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: mmc_spi: Generate R1 response for erase block start and end address
authorPragnesh Patel <pragnesh.patel@sifive.com>
Mon, 29 Jun 2020 09:47:28 +0000 (15:17 +0530)
committerPeng Fan <peng.fan@nxp.com>
Tue, 14 Jul 2020 08:19:46 +0000 (16:19 +0800)
commit6f4555af8471491d7f8c01187a97f2b0fcedc286
treeb5e0e7bcf2b21fd05a8e8051ee4ee67a31839e88
parent70f176ae827823cb6fb7edccc8211c1f2f92b754
mmc: mmc_spi: Generate R1 response for erase block start and end address

Erase block start address (CMD32) and erase block end address (CMD33)
command will generate R1 response for mmc SPI mode.

R1 response is 1 byte long for mmc SPI, so assign 1 byte as a response
for this 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