1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 14:11:15 +02:00

spi25_statusreg: rename amic_a25l032 print to a generic name

Other chips (at least Winbond) will benefit from this change.

Also, drop the FIXME comment, as it can be misleading. The
"pretty print" functions should only display values from the
Status Register, so using an inappropriate function might only
confuse user.

Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Change-Id: I7169a2312698343e1065cdca91a3985e00cb3804
Reviewed-on: https://review.coreboot.org/c/flashrom/+/78874
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
This commit is contained in:
Alexander Goncharov
2023-11-02 10:18:53 +03:00
parent ffa2159923
commit 8a7f8ade46
3 changed files with 6 additions and 15 deletions

View File

@ -369,7 +369,6 @@ enum printlock_func {
PRINTLOCK_W39V080A,
PRINTLOCK_W39V080FA,
PRINTLOCK_W39V080FA_DUAL,
SPI_PRETTYPRINT_STATUS_REGISTER_AMIC_A25L032,
SPI_PRETTYPRINT_STATUS_REGISTER_AT25DF,
SPI_PRETTYPRINT_STATUS_REGISTER_AT25DF_SEC,
SPI_PRETTYPRINT_STATUS_REGISTER_AT25F,
@ -385,6 +384,7 @@ enum printlock_func {
SPI_PRETTYPRINT_STATUS_REGISTER_BP2_EP_SRWD,
SPI_PRETTYPRINT_STATUS_REGISTER_BP2_SRWD,
SPI_PRETTYPRINT_STATUS_REGISTER_BP2_TB_BPL,
SPI_PRETTYPRINT_STATUS_REGISTER_SRWD_SEC_TB_BP2_WELWIP,
SPI_PRETTYPRINT_STATUS_REGISTER_BP3_SRWD,
SPI_PRETTYPRINT_STATUS_REGISTER_BP4_SRWD,
SPI_PRETTYPRINT_STATUS_REGISTER_DEFAULT_WELWIP,