[resend, because the list rejected my previous submission]

when working on a board with a SST 39VF020 flash, I noticed that support for
these flashs seems to be broken, because the CFI code uses timeout values
that are initialized to zero in the non-CFI code.

The following patches change that to use (hopefully) large enough timeout
values, and move the timeout calculation and output outside the CFI part, so
that the calculation/display happens always.

Furthermore, I changed the cfi_protect behaviour for Spansion flashes: these
currently do not implement protection (and many do not even have protection
flags in hardware), so I changed the behaviour from "error" to "warning". 
That makes it possible to use "flash write_image erase unlock" in board
scripts, regardless of the flash type on the board.

cu
Michael

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to