str9x: faster flash erase of entire chip
commita8c8c238f2dd1abe102f83bfa392ac40f313dd73
authorFredrik Hederstierna <fredrik.hederstierna@securitas-direct.com>
Thu, 12 Aug 2010 06:53:29 +0000 (12 08:53 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 12 Aug 2010 06:53:29 +0000 (12 08:53 +0200)
tree095bfef36224c8b6e7a1ec1dbc5f8316715b4e4f
parent8f779cf66bf459616b7dad88e871c2f4a7315371
str9x: faster flash erase of entire chip

The patch improves flash erase for STR9x in case of a full bank erase.
Then the chip erase command is used instead which improves speed significantly.

Also I think it might help if e.g. STR912 enters some state where flash banks are locked, and a chip erase command is the key for unlocking the flash.
src/flash/nor/str9x.c