Re: [PATCH v2 8/8] hw/sd: sd: Bypass the RCA check for CMD13 in SPI mode

2021-02-16 Thread Philippe Mathieu-Daudé
On 2/16/21 4:02 PM, Bin Meng wrote: > From: Bin Meng > > Unlike SD mode, when SD card is working in SPI mode, the argument > of CMD13 is stuff bits. Hence we should bypass the RCA check. > > See "Physical Layer Specification Version 8.00", chapter 7.3.1.3 > Detailed Command Description (SPI mode

[PATCH v2 8/8] hw/sd: sd: Bypass the RCA check for CMD13 in SPI mode

2021-02-16 Thread Bin Meng
From: Bin Meng Unlike SD mode, when SD card is working in SPI mode, the argument of CMD13 is stuff bits. Hence we should bypass the RCA check. See "Physical Layer Specification Version 8.00", chapter 7.3.1.3 Detailed Command Description (SPI mode): "The card shall ignore stuff bits and reserv