diff options
-rw-r--r-- | src/include/spi_flash.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/include/spi_flash.h b/src/include/spi_flash.h index 7e430d0788..d697d8f8ae 100644 --- a/src/include/spi_flash.h +++ b/src/include/spi_flash.h @@ -58,22 +58,4 @@ struct spi_flash { struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs); -static inline int spi_flash_read(struct spi_flash *flash, u32 offset, - size_t len, void *buf) -{ - return flash->read(flash, offset, len, buf); -} - -static inline int spi_flash_write(struct spi_flash *flash, u32 offset, - size_t len, const void *buf) -{ - return flash->write(flash, offset, len, buf); -} - -static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, - size_t len) -{ - return flash->erase(flash, offset, len); -} - #endif /* _SPI_FLASH_H_ */ |