Skip to content
Snippets Groups Projects
Commit de15a06a authored by Joe Hershberger's avatar Joe Hershberger Committed by Stefan Roese
Browse files

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: default avatarJoe Hershberger <joe.hershberger@ni.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 6822a647
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment