flashchips.c: sync SST25VF010(A) with upstream
This chip does not have a `.wp` entry, so the
version in upstream is probbably newer than and more
accurate.
This patch partially syncs with upstream at
`commit 3170bc3a8e62fe5be8af840454031b39487b31d5`
BUG=b:166294558
BRANCH=none
TEST=builds
Signed-off-by: Nikolai Artemiev <nartemiev@google.com>
Change-Id: Icc5a69290308d12b4ae1a8981f81c6b9766e58bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2653437
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
diff --git a/flashchips.c b/flashchips.c
index 5f0843d..feabc08 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -13357,8 +13357,14 @@
.eraseblocks = { {32 * 1024, 4} },
.block_erase = spi_block_erase_52,
}, {
+ .eraseblocks = { {32 * 1024, 4} },
+ .block_erase = spi_block_erase_d8, /* Supported by SST25VF010A only */
+ }, {
.eraseblocks = { {128 * 1024, 1} },
.block_erase = spi_block_erase_60,
+ }, {
+ .eraseblocks = { {128 * 1024, 1} },
+ .block_erase = spi_block_erase_c7, /* Supported by SST25VF010A only */
},
},
.printlock = spi_prettyprint_status_register_sst25, /* FIXME: No BP2 & 3 */