mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
SPI hardware bitbanging from SD CARD
This commit is contained in:
parent
50b6db6a6b
commit
d45dda731a
1 changed files with 6 additions and 0 deletions
6
litex/soc/software/include/base/spi.h
Normal file
6
litex/soc/software/include/base/spi.h
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
int spi_sdcard_init(uint32_t device);
|
||||||
|
int spi_sdcard_read_sector(uint32_t device, unsigned long lba,unsigned char *buf);
|
||||||
|
|
||||||
|
unsigned char spi_sdcard_goidle(void);
|
||||||
|
unsigned char spi_sdcard_readMBR(void);
|
||||||
|
unsigned char spi_sdcard_readFile(char *, char *, unsigned long);
|
Loading…
Reference in a new issue