commit | de15a06aad1f221255366ac07238c80fed146da1 | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Fri Aug 17 15:36:41 2012 -0500 |
committer | Stefan Roese <sr@denx.de> | Mon Sep 03 11:24:27 2012 +0200 |
tree | 73921dc7c0bfabbad9696bc1e97181367c0029d6 | |
parent | 6822a647b94cb05869231251e5a29f9742bb3ce2 [diff] |
cfi: Make the flash erase and write operations abortable Check for ctrlc() in operations that take time and loop over the flash addresses. In netconsole, tstc() is expensive. Only check once in a while to not slow down the operation significantly. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Stefan Roese <sr@denx.de>