litex/software/include/base/spiflash.h

9 lines
283 B
C
Raw Normal View History

2014-11-27 10:10:24 -05:00
#ifndef __SPIFLASH_H
#define __SPIFLASH_H
2015-08-08 05:16:27 -04:00
void write_to_flash_page(unsigned int addr, const unsigned char *c, unsigned int len);
2014-11-27 10:10:24 -05:00
void erase_flash_sector(unsigned int addr);
2015-08-08 05:16:27 -04:00
void write_to_flash(unsigned int addr, const unsigned char *c, unsigned int len);
2014-11-27 10:10:24 -05:00
#endif /* __SPIFLASH_H */