1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-10-04 18:16:25 +02:00

flashchips: Skip "WP untested" message for SFDP-capable chip

This entry in the flashchips represent a "SFDP-capable chip" and
it doesn't make sense to show the message "WP operation has status
untested, please report this". The entry can cover any generic
SDFP chip and what would you report?

Secondly, the entry "SFDP-capable chip" does not currently support
WP operations anyway.

Going further, we will be working with SFDP way more, so this area
needs to be gradually upgraded.

Change-Id: I7e945389895a8042df3aaae72bccf73405be8651
Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
This commit is contained in:
Anastasia Klimchuk
2024-11-09 23:15:16 +11:00
parent 40d1c25c00
commit a656dffe6d

View File

@@ -23522,7 +23522,7 @@ const struct flashchip flashchips[] = {
/* We present our own "report this" text hence we do not */ /* We present our own "report this" text hence we do not */
/* want the default "This flash part has status UNTESTED..." */ /* want the default "This flash part has status UNTESTED..." */
/* text to be printed. */ /* text to be printed. */
.tested = TEST_OK_PREW, .tested = TEST_OK_PREWB,
.probe = PROBE_SPI_SFDP, .probe = PROBE_SPI_SFDP,
.block_erasers = {}, /* set by probing function */ .block_erasers = {}, /* set by probing function */
.unlock = SPI_DISABLE_BLOCKPROTECT, /* is this safe? */ .unlock = SPI_DISABLE_BLOCKPROTECT, /* is this safe? */