Anastasia Klimchuk submitted this change.

View Change



1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Approvals: build bot (Jenkins): Verified Anastasia Klimchuk: Looks good to me, approved Sergii Dmytruk: Looks good to me, approved
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>
---
M spi25_statusreg.c
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/spi25_statusreg.c b/spi25_statusreg.c
index fa276f7..bb56ee1 100644
--- a/spi25_statusreg.c
+++ b/spi25_statusreg.c
@@ -262,6 +262,7 @@
}

*value = readarr[0];
+ msg_cspew("%s: read_cmd 0x%02x returned 0x%02x\n", __func__, read_cmd, readarr[0]);
return 0;
}


To view, visit change 77529. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ibc8e9229ab5d6578479564d11cc7aff9442e24ad
Gerrit-Change-Number: 77529
Gerrit-PatchSet: 3
Gerrit-Owner: Vasily Galkin
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged