summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Green <avg@google.com>2019-09-23 17:12:44 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2019-09-24 03:20:55 +0000
commita1fc01d9e2f28d3d5f1506117c11f35bd42a7a6a (patch)
treec800a57c8c1bc4dc851ac939b289dd21ad03b33b
parent07b8a17db65ad38ffcb7344192ba37d79f03193e (diff)
downloadflashrom-a1fc01d9e2f28d3d5f1506117c11f35bd42a7a6a.tar.gz
flashrom-a1fc01d9e2f28d3d5f1506117c11f35bd42a7a6a.tar.bz2
flashrom-a1fc01d9e2f28d3d5f1506117c11f35bd42a7a6a.zip
flashchips.c: Add W25Q128.V..M printlock attribute
Add a printlock attribute for the Winbond W25Q128.V..M chip. The printlock attributes matches the ChromiumOS repo's definition of this chip. Signed-off-by: Alan Green <avg@google.com> Change-Id: I775d5d40677593dcb2d05750f8bbc62871b0e551 Reviewed-on: https://review.coreboot.org/c/flashrom/+/35549 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
-rw-r--r--flashchips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 8baa2eeb0..763594284 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -15807,6 +15807,7 @@ const struct flashchip flashchips[] = {
.block_erase = spi_block_erase_c7,
}
},
+ .printlock = spi_prettyprint_status_register_plain,
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
.read = spi_chip_read,