> >> If this command could be issued in transfer state maybe in addition to
> >> IDLE_STATE you also need to set other bits (ADDRESS_ERROR,
> >> COM_CRC_ERROR, ILLEGAL_COMMAND, ERASE_SEQ_ERROR) in MSB of R3 response?
> > In theory, yes. I was thinking of a follow-up patch to move the spi
> > status byte generation into sd.c. Maybe I should do that first.
> Do you mean the one in ssi-sd.c? That would be nice I think, a bit less
I posted v2 of the patch earlier today: