Vasily Galkin has uploaded this change for review.

View Change

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
---
M spi25_statusreg.c
1 file changed, 1 insertion(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/29/77529/1
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: 1
Gerrit-Owner: Vasily Galkin
Gerrit-MessageType: newchange