mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 07:23:43 +02:00
Fix A25L40PU and A2540PT due to incorrect full-chip block size is incorrect
Corresponding to flashrom svn r865. Thanks to hailfinger's self-check-erase routine for catching this. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
parent
293adf0242
commit
2aff7aa03f
@ -1181,7 +1181,7 @@ struct flashchip flashchips[] = {
|
|||||||
},
|
},
|
||||||
.block_erase = spi_block_erase_d8,
|
.block_erase = spi_block_erase_d8,
|
||||||
}, {
|
}, {
|
||||||
.eraseblocks = { {256 * 1024, 1} },
|
.eraseblocks = { {512 * 1024, 1} },
|
||||||
.block_erase = spi_block_erase_c7,
|
.block_erase = spi_block_erase_c7,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1213,7 +1213,7 @@ struct flashchip flashchips[] = {
|
|||||||
},
|
},
|
||||||
.block_erase = spi_block_erase_d8,
|
.block_erase = spi_block_erase_d8,
|
||||||
}, {
|
}, {
|
||||||
.eraseblocks = { {256 * 1024, 1} },
|
.eraseblocks = { {512 * 1024, 1} },
|
||||||
.block_erase = spi_block_erase_c7,
|
.block_erase = spi_block_erase_c7,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user