From 3e1d823ca8a5d3b7e0bc33d5c9f9b4ba23ec686b Mon Sep 17 00:00:00 2001 From: stefanct Date: Tue, 27 May 2014 21:27:14 +0000 Subject: Add support for ESMT F25L32PA. Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1801 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- spi25_statusreg.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'spi25_statusreg.c') diff --git a/spi25_statusreg.c b/spi25_statusreg.c index f96d4e8..9f8c9ae 100644 --- a/spi25_statusreg.c +++ b/spi25_statusreg.c @@ -354,6 +354,19 @@ int spi_prettyprint_status_register_default_bp4(struct flashctx *flash) return 0; } +int spi_prettyprint_status_register_bp2_bpl(struct flashctx *flash) +{ + uint8_t status = spi_read_status_register(flash); + spi_prettyprint_status_register_hex(status); + + spi_prettyprint_status_register_bpl(status); + spi_prettyprint_status_register_bit(status, 6); + spi_prettyprint_status_register_bit(status, 5); + spi_prettyprint_status_register_bp(status, 2); + spi_prettyprint_status_register_welwip(status); + return 0; +} + /* === Amic === * FIXME: spi_disable_blockprotect is incorrect but works fine for chips using * spi_prettyprint_status_register_default_bp1 or -- cgit v1.2.1