soc/software/litesdcard: update for response register back to 128 bits
authorGabriel Somlo <gsomlo@gmail.com>
Sat, 30 May 2020 00:42:49 +0000 (20:42 -0400)
committerGabriel Somlo <gsomlo@gmail.com>
Sat, 30 May 2020 22:12:51 +0000 (18:12 -0400)
commit28290efd003fee7e66dcbebdb7277e24da602351
treeff72e0d0e6031394e201f8b816b7835cf47e5a5a
parent759367752caf21475b57d468a442635a87ac273b
soc/software/litesdcard: update for response register back to 128 bits

The additional (17th) byte returned via the response register was
ignored by software (bios and kernel), so LiteSDCard was updated
to only return the (original, useful) 128 bits.

This patch updates the LiteSDCard code in the LiteX bios to only
expect those 128 bits, and to do so in a manner that's portable
across CSR data widths and alignments.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/soc/software/liblitesdcard/sdcard.c