diff options
Diffstat (limited to 'sst49lfxxxc.c')
-rw-r--r-- | sst49lfxxxc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c index 80e55208..a65450e5 100644 --- a/sst49lfxxxc.c +++ b/sst49lfxxxc.c @@ -82,6 +82,11 @@ static int write_lockbits_49lfxxxc(struct flashchip *flash, unsigned char bits) return 0; } +int unlock_49lfxxxc(struct flashchip *flash) +{ + return write_lockbits_49lfxxxc(flash, 0); +} + int erase_sector_49lfxxxc(struct flashchip *flash, unsigned int address, unsigned int sector_size) { unsigned char status; |