diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2018-12-03 11:05:42 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-12-11 22:37:41 -0600 |
commit | 1534ab1dca13403ade020be26989a95156f321e0 (patch) | |
tree | 12de797958b26095921ef8e3b210f140626b044b /external | |
parent | eb0226273239d806f404712aacc42961130c7079 (diff) | |
download | talos-skiboot-1534ab1dca13403ade020be26989a95156f321e0.tar.gz talos-skiboot-1534ab1dca13403ade020be26989a95156f321e0.zip |
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 <stewart@linux.ibm.com>
Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions