Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libflash/file: greatly increase perf of file_erase()
Do 4096 byte chunks not 8 byte chunks. A ffspart invocation constructing a 64MB PNOR goes from a couple of seconds to ~0.1seconds with this patch. Signed-off-by: Stewart Smith <[email protected]> Reviewed-by: Samuel Mendoza-Jonas <[email protected]> Signed-off-by: Stewart Smith <[email protected]>
- Loading branch information