Re: [PATCH] hw/sd: Correct card status clear conditions in SPI-mode

2022-02-07 Thread Peter Maydell
On Mon, 24 Jan 2022 at 06:09, wrote: > > From: Frank Chang > > In SPI-mode, unlike SD-mode, card status bits: ILLEGAL_COMMAND and > COM_CRC_ERROR have type C ("cleared by read") clear conditions. > Also, type B ("cleared on valid command") clear condition is not > supported in SPI-mode. As the

[PATCH] hw/sd: Correct card status clear conditions in SPI-mode

2022-01-23 Thread frank . chang
From: Frank Chang In SPI-mode, unlike SD-mode, card status bits: ILLEGAL_COMMAND and COM_CRC_ERROR have type C ("cleared by read") clear conditions. Also, type B ("cleared on valid command") clear condition is not supported in SPI-mode. As the "In idle state" bit in SPI-mode has type A