mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
Remove erase_chip_stm50flw0x0x
As the comment indicates, that function is not a chip erase function at all, but a function calling a block eraser in a loop. So it adds no extra value to what we already have in the block_eraser infrastructure. Furthermore, that function assumes a uniform sector size layout, but is referenced from flash chip with non-uniform sector size layout, which is just wrong. Corresponding to flashrom svn r1287. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
@ -128,7 +128,6 @@ int probe_w29ee011(struct flashchip *flash);
|
||||
|
||||
/* stm50flw0x0x.c */
|
||||
int erase_sector_stm50flw0x0x(struct flashchip *flash, unsigned int block, unsigned int blocksize);
|
||||
int erase_chip_stm50flw0x0x(struct flashchip *flash, unsigned int addr, unsigned int blocklen);
|
||||
int unlock_stm50flw0x0x(struct flashchip *flash);
|
||||
|
||||
#endif /* !__CHIPDRIVERS_H__ */
|
||||
|
Reference in New Issue
Block a user