diff options
author | mkarcher <mkarcher@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2011-04-14 23:43:19 +0000 |
---|---|---|
committer | mkarcher <mkarcher@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2011-04-14 23:43:19 +0000 |
commit | 64ecd20bd2874c5b69b2f29225749a7342b71460 (patch) | |
tree | 13f79018dc1bfb1da97f9b4fbd460e3e9448eaa3 /chipdrivers.h | |
parent | 93cfb76da51dbea89beccd4976d20e1224f34915 (diff) | |
download | flashrom-64ecd20bd2874c5b69b2f29225749a7342b71460.tar.gz |
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.
Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1287 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'chipdrivers.h')
-rw-r--r-- | chipdrivers.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chipdrivers.h b/chipdrivers.h index c01ab7a..2c1cd8b 100644 --- a/chipdrivers.h +++ b/chipdrivers.h @@ -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__ */ |