summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-01-17 22:06:05 -0600
committerRaptor Engineering Development Team <support@raptorengineering.com>2018-01-17 22:06:49 -0600
commit821ef6523e3b1228ca43c78dac76892d55584fca (patch)
tree01da6e0c778fd731f94d8a59becf207bcdb4982b
parentc350eaf994f91c7e1577314c410b69761373bcfd (diff)
downloadpdbg-821ef6523e3b1228ca43c78dac76892d55584fca.tar.gz
pdbg-821ef6523e3b1228ca43c78dac76892d55584fca.zip
Clarify CFAM failure reason03-26-2018
-rw-r--r--libpdbg/bmcfsi.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/libpdbg/bmcfsi.c b/libpdbg/bmcfsi.c
index c8597a4..a8d2d76 100644
--- a/libpdbg/bmcfsi.c
+++ b/libpdbg/bmcfsi.c
@@ -370,7 +370,15 @@ static int fsi_getcfam(struct fsi *fsi, uint32_t addr, uint32_t *value)
rc = fsi_d_poll_wait(0, &resp, 36);
if (rc != FSI_ACK) {
- PR_DEBUG("getcfam error. Response: 0x%01x\n", rc);
+ if (rc == FSI_ERR_A) {
+ PR_ERROR("getcfam failed. Remote system returned ERR_A (Error Acknowledge) -- operation prohibited or CRC error detected in transmission\n");
+ }
+ else if (rc == FSI_ERR_C) {
+ PR_ERROR("getcfam failed. Remote system returned ERR_C (CRC Error) -- CRC error detected in transmission\n");
+ }
+ else {
+ PR_DEBUG("getcfam error. Response: 0x%01x\n", rc);
+ }
rc = -1;
}
OpenPOWER on IntegriCloud