diff options
Diffstat (limited to 'sst49lfxxxc.c')
-rw-r--r-- | sst49lfxxxc.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c index c682be3d..046b9f3a 100644 --- a/sst49lfxxxc.c +++ b/sst49lfxxxc.c @@ -75,15 +75,3 @@ int erase_sector_49lfxxxc(struct flashchip *flash, unsigned int address, unsigne } return 0; } - -int write_49lfxxxc(struct flashchip *flash, uint8_t *buf) -{ - chipaddr bios = flash->virtual_memory; - - write_lockbits_49lfxxxc(flash, 0); - write_page_82802ab(flash, buf, 0, flash->total_size * 1024); - - chip_writeb(0xFF, bios); - - return 0; -} |