Add software support for sd response codes

Polls the sd controller until the read flag is set, at which point it
reads 32 bits of data from the controller.

long response codes (such as CID) are not supported in hw or sw.
This commit is contained in:
Byron Lathi
2022-04-10 23:18:26 -05:00
parent f5f1d7ccc6
commit 9eaa6c49f9
3 changed files with 68 additions and 18 deletions

View File

@@ -5,4 +5,6 @@
void sd_card_command(uint32_t arg, uint8_t cmd);
void sd_card_resp(uint32_t* resp);
#endif