MTD: Add lock/unlock operations for Atmel AT49BV6416
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 9 Aug 2006 09:06:07 +0000 (11:06 +0200)
committerJosh Boyer <jwboyer@gmail.com>
Thu, 17 Aug 2006 01:16:43 +0000 (20:16 -0500)
The AT49BV6416 is locked by default, so we really need to provide
at least the unlock() operation for write and erase to work. This
patch implements both ->lock() and ->unlock() and provides a fixup
to install them when an AT49BV6416 chip is detected.

These functions are probably valid on more Atmel chips, but I believe
it's mostly obsolete ones. The AT49BV6416 is in fact obsolete, but
it's used on all current AT32STK1000 development boards.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>

No differences found