diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-08-09 05:06:07 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2006-08-16 21:16:43 -0400 |
commit | 0165508c80a2b5d5268d9c5dfa9b30c534a33693 (patch) | |
tree | 255a014b260457d19bc52070fa7b2d72a61750bb /kernel/exit.c | |
parent | 5b0c5c2c0d04c29f85abb485378ba5476c7aeec2 (diff) |
MTD: Add lock/unlock operations for Atmel AT49BV6416
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>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions