stm32/spibdev: Convert to use multiple block read/write interface.

The spiflash driver now supports read/write of multiple blocks at a time.
This commit is contained in:
Damien George
2018-03-03 00:13:15 +11:00
parent 861080aa3d
commit 8bd0a51ca9
3 changed files with 10 additions and 10 deletions

View File

@@ -41,8 +41,8 @@
#define BDEV_INIT spi_bdev_init
#define BDEV_IRQ_HANDLER spi_bdev_irq_handler
#define BDEV_FLUSH spi_bdev_flush
#define BDEV_READBLOCK spi_bdev_readblock
#define BDEV_WRITEBLOCK spi_bdev_writeblock
#define BDEV_READBLOCKS spi_bdev_readblocks
#define BDEV_WRITEBLOCKS spi_bdev_writeblocks
#else