summaryrefslogtreecommitdiff
path: root/flashchips.c
diff options
context:
space:
mode:
authorstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2013-09-12 08:29:06 +0000
committerstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2013-09-12 08:29:06 +0000
commita384fd1ea1c246e73a708e46b559680b5026aec3 (patch)
tree64161051da3569c3eff1d44fa0fbab934c5d2c36 /flashchips.c
parent8524c271d09dfe27769a7f604cb5b6be1490dcad (diff)
downloadflashrom-a384fd1ea1c246e73a708e46b559680b5026aec3.tar.gz
Enable sector erase function for selected ST M50 chips.
Affected chips: M50FLW040A, M50FLW040B, M50FLW080A, M50FLW080B. Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1738 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/flashchips.c b/flashchips.c
index dbf01bc..05eb5b3 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -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,