summaryrefslogtreecommitdiffstats
path: root/sst49lfxxxc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sst49lfxxxc.c')
-rw-r--r--sst49lfxxxc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c
index c682be3..046b9f3 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;
-}
OpenPOWER on IntegriCloud