summaryrefslogtreecommitdiff
path: root/tests/unix/extra_coverage.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-06-07 14:09:10 +1000
committerDamien George <damien.p.george@gmail.com>2018-06-14 16:52:56 +1000
commit86fe73beb99686ea15787f0603ad6f10a642054c (patch)
tree68bbcba6f641518fcb4a60ac432ab62aa0968516 /tests/unix/extra_coverage.py
parentcf1509c911a1e1f983538105592575a8a520341f (diff)
drivers/memory/spiflash: Move cache buffer to user-provided config.
This patch removes the global cache variables from the SPI flash driver and now requires the user to provide the cache memory themselves, via the SPI flash configuration struct. This allows to either have a shared cache for multiple SPI flash devices (by sharing a mp_spiflash_cache_t struct), or have a single cache per device (or a mix of these options). To configure the cache use: mp_spiflash_cache_t spi_bdev_cache; const mp_spiflash_config_t spiflash_config = // any bus options .cache = &spi_bdev_cache, };
Diffstat (limited to 'tests/unix/extra_coverage.py')
0 files changed, 0 insertions, 0 deletions