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-04-13 05:59:05 -0500
commit0b8b083cd605fac2b89c67fa8dceffe3de9b4d45 (patch)
treed59660bc2e2b123afad277cc7201bd12ca8effb8
parent9df0dbd46d3e06a22627de0e6d61613956ee6302 (diff)
downloadpdbg-06-18-2018.tar.gz
pdbg-06-18-2018.zip
Clarify CFAM failure reason06-18-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