Commit graph

20 commits

Author SHA1 Message Date
756e5852cb flash: implement functions to check if pages are all zero or one 2017-07-27 16:53:01 +02:00
ac3d198004 core: flash: implement flash_sync() to sync buffered data 2017-07-24 15:05:16 +02:00
3d33e5e0ce flash: return the amount of written bytes in flash_write0() and default_flash_copy() 2017-06-23 16:55:45 +02:00
3a287deba2 style: flash: remove trailing newlines 2017-06-23 16:10:10 +02:00
cd67577f35 flash: implement flash_write0() to write a sequence of zeroes 2017-06-23 16:09:56 +02:00
c38413dc90 flash: change prototype of flash_copy() and use the default implementation in the sandbox 2017-06-16 15:42:08 +02:00
a8beb53fa0 flash: implement a default function for copying data 2017-06-16 15:40:02 +02:00
68593c2e6f flash: check if a block is erased in chunks of 32 bytes 2017-06-14 16:19:02 +02:00
154c33950a spi: get rid of the separate calls to spi_set_cs_level() 2017-06-14 14:27:31 +02:00
60d316711f spi: clean up the code in order to reduce the latency 2017-06-14 14:26:11 +02:00
847241bbb8 flash: fix default_flash_is_erased() to use a byte-offset address internally 2017-05-29 18:52:20 +02:00
937521c909 flash: return size for flash_read() and flash_write() 2017-05-19 18:20:50 +02:00
f53b072a65 flash: implement release() as part of flash_ops 2017-05-19 17:26:00 +02:00
20125827b6 flash: add and implemented flash_is_erased() for sandbox flash 2017-05-19 17:16:01 +02:00
e65110f084 improve API for flash_erase() 2017-05-19 17:04:45 +02:00
a899f35562 flash: add flash_get_capacity() 2017-05-19 15:09:25 +02:00
bd326ad795 flash: add flash_copy and improve flash_erase 2017-05-15 16:07:13 +02:00
f61ecefdc6 flash: add flash_get_size() 2017-04-07 19:35:51 +02:00
92b3c1108b flash: implement flash driver model 2017-03-11 12:42:32 +00:00
a078de7c9f spi: stm32f0: add SPI driver 2017-03-11 00:55:54 +00:00