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

Enable sector erase function for selected ST M50 chips

Affected chips: M50FLW040A, M50FLW040B, M50FLW080A, M50FLW080B.

Corresponding to flashrom svn r1738.

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
2013-09-12 08:29:06 +00:00
parent 8c4602b8ab
commit beaffd8859
2 changed files with 22 additions and 10 deletions

View File

@ -11022,7 +11022,7 @@ const struct flashchip flashchips[] = {
{4 * 1024, 16}, /* sector */
{4 * 1024, 16}, /* sector */
},
.block_erase = NULL,
.block_erase = erase_sector_stm50,
}, {
.eraseblocks = { {64 * 1024, 8}, },
.block_erase = erase_block_82802ab,
@ -11055,7 +11055,7 @@ const struct flashchip flashchips[] = {
{64 * 1024, 5}, /* block */
{4 * 1024, 16}, /* sector */
},
.block_erase = NULL,
.block_erase = erase_sector_stm50,
}, {
.eraseblocks = { {64 * 1024, 8}, },
.block_erase = erase_block_82802ab,
@ -11088,7 +11088,7 @@ const struct flashchip flashchips[] = {
{4 * 1024, 16}, /* sector */
{4 * 1024, 16}, /* sector */
},
.block_erase = NULL,
.block_erase = erase_sector_stm50,
}, {
.eraseblocks = { {64 * 1024, 16}, },
.block_erase = erase_block_82802ab,
@ -11121,7 +11121,7 @@ const struct flashchip flashchips[] = {
{64 * 1024, 13}, /* block */
{4 * 1024, 16}, /* sector */
},
.block_erase = NULL,
.block_erase = erase_sector_stm50,
}, {
.eraseblocks = { {64 * 1024, 16}, },
.block_erase = erase_block_82802ab,