1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 06:23:18 +02:00

Add spi_block_erase_62

This is used by the AT25F series (only?), but is generic enough to
reside in spi25.c. The only currently supported chip is the AT25F512B.
Other members of that series need some additional infrastructure code,
hence this patch adds the erase function to the AT25F512B only.

Corresponding to flashrom svn r1600.

Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
Stefan Tauner
2012-09-21 12:46:56 +00:00
parent 14fbc4b400
commit 3c0fcd0f30
4 changed files with 56 additions and 0 deletions

View File

@ -1695,6 +1695,9 @@ const struct flashchip flashchips[] = {
}, {
.eraseblocks = { {64 * 1024, 1} },
.block_erase = spi_block_erase_c7,
}, {
.eraseblocks = { {64 * 1024, 1} },
.block_erase = spi_block_erase_62,
}
},
.printlock = spi_prettyprint_status_register_at25f512b,