1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 14:33:18 +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:
Michael Karcher
2011-04-14 23:43:19 +00:00
parent 2842db315d
commit 4b17736985
3 changed files with 0 additions and 55 deletions

View File

@ -6852,9 +6852,6 @@ struct flashchip flashchips[] = {
}, {
.eraseblocks = { {64 * 1024, 8}, },
.block_erase = erase_block_82802ab,
}, {
.eraseblocks = { {512 * 1024, 1} },
.block_erase = erase_chip_stm50flw0x0x,
}
},
.unlock = unlock_stm50flw0x0x,
@ -6887,9 +6884,6 @@ struct flashchip flashchips[] = {
}, {
.eraseblocks = { {64 * 1024, 8}, },
.block_erase = erase_block_82802ab,
}, {
.eraseblocks = { {512 * 1024, 1} },
.block_erase = erase_chip_stm50flw0x0x,
}
},
.unlock = unlock_stm50flw0x0x,
@ -6922,9 +6916,6 @@ struct flashchip flashchips[] = {
}, {
.eraseblocks = { {64 * 1024, 16}, },
.block_erase = erase_block_82802ab,
}, {
.eraseblocks = { {1024 * 1024, 1} },
.block_erase = erase_chip_stm50flw0x0x,
}
},
.unlock = unlock_stm50flw0x0x,
@ -6957,9 +6948,6 @@ struct flashchip flashchips[] = {
}, {
.eraseblocks = { {64 * 1024, 16}, },
.block_erase = erase_block_82802ab,
}, {
.eraseblocks = { {1024 * 1024, 1} },
.block_erase = erase_chip_stm50flw0x0x,
}
},
.unlock = unlock_stm50flw0x0x,
@ -6989,9 +6977,6 @@ struct flashchip flashchips[] = {
{16 * 1024, 1},
},
.block_erase = erase_block_82802ab,
}, {
.eraseblocks = { {256 * 1024, 1} },
.block_erase = erase_chip_stm50flw0x0x,
}
},
.unlock = unlock_stm50flw0x0x,
@ -7016,9 +7001,6 @@ struct flashchip flashchips[] = {
{
.eraseblocks = { {64 * 1024, 32}, },
.block_erase = erase_block_82802ab,
}, {
.eraseblocks = { {2 * 1024 * 1024, 1} },
.block_erase = erase_chip_stm50flw0x0x,
}
},
.unlock = unlock_stm50flw0x0x,
@ -7043,9 +7025,6 @@ struct flashchip flashchips[] = {
{
.eraseblocks = { {64 * 1024, 8}, },
.block_erase = erase_block_82802ab,
}, {
.eraseblocks = { {512 * 1024, 1} },
.block_erase = erase_chip_stm50flw0x0x,
}
},
.unlock = unlock_stm50flw0x0x,
@ -7070,9 +7049,6 @@ struct flashchip flashchips[] = {
{
.eraseblocks = { {64 * 1024, 16}, },
.block_erase = erase_block_82802ab,
}, {
.eraseblocks = { {1024 * 1024, 1} },
.block_erase = erase_chip_stm50flw0x0x,
}
},
.unlock = unlock_stm50flw0x0x,
@ -7103,9 +7079,6 @@ struct flashchip flashchips[] = {
{16 * 1024, 1},
},
.block_erase = erase_block_82802ab,
}, {
.eraseblocks = { {2 * 1024 * 1024, 1} },
.block_erase = erase_chip_stm50flw0x0x,
}
},
.unlock = unlock_stm50flw0x0x,