1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-26 22:52:34 +02:00

spi25_statusreg: add verbose output on status registers read results

Useful during enabling/debugging WP operations on various SPI chips

Signed-off-by: Vasily Galkin <galkin-vv@ya.ru>
Change-Id: Ibc8e9229ab5d6578479564d11cc7aff9442e24ad
Reviewed-on: https://review.coreboot.org/c/flashrom/+/77529
Reviewed-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Vasily Galkin 2023-08-26 17:06:17 +03:00 committed by Anastasia Klimchuk
parent d59287d982
commit f7ffe5ff6b

View File

@ -262,6 +262,7 @@ int spi_read_register(const struct flashctx *flash, enum flash_reg reg, uint8_t
}
*value = readarr[0];
msg_cspew("%s: read_cmd 0x%02x returned 0x%02x\n", __func__, read_cmd, readarr[0]);
return 0;
}