diff options
Diffstat (limited to 'stm50flw0x0x.c')
-rw-r--r-- | stm50flw0x0x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stm50flw0x0x.c b/stm50flw0x0x.c index 6a3b17d..dd6cbe7 100644 --- a/stm50flw0x0x.c +++ b/stm50flw0x0x.c @@ -93,6 +93,7 @@ int unlock_stm50flw0x0x(struct flashchip *flash) return 0; } +/* This function is unused. */ int erase_sector_stm50flw0x0x(struct flashchip *flash, unsigned int sector, unsigned int sectorsize) { chipaddr bios = flash->virtual_memory + sector; @@ -116,6 +117,7 @@ int erase_sector_stm50flw0x0x(struct flashchip *flash, unsigned int sector, unsi return 0; } +/* FIXME: This function is not a real chip erase function. */ int erase_chip_stm50flw0x0x(struct flashchip *flash, unsigned int addr, unsigned int blocklen) { int i; |