On 8/24/07, Darmawan Salihun <darmawan.salihun@gmail.com> wrote:
On 8/23/07, Peter Stuge <peter@stuge.se> wrote:On Thu, Aug 23, 2007 at 01:28:04PM +0700, Darmawan Salihun wrote:
> However, it seems to be the patch will stay as different file
> because among all of the flashchip support files, there's no
> one of them that can provide the register unprotect routine(s).
The idea is to keep code duplication to a minimum where possible, so
if W39V are quite similar to another already-supported chip except
for these registers it may be a good idea to just add the neccessary
register stuff to that chip code instead. (But only called for W39V,
of course.)
Done.
During testing I found that W39V040FA doesn't seem supporting per-sector erase.
As other SST Firmware Hub chips. Therefore, I add the code to give erase support
for the chip. See patch.