summaryrefslogtreecommitdiffstats
path: root/occ_status.cpp
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-08-16 15:48:50 -0500
committerAndrew Geissler <andrewg@us.ibm.com>2017-08-16 15:51:29 -0500
commit715595b64ead477ceae235208a290808234cdcf0 (patch)
treef0fd5f9bcdc17d5685c310995f647b2bb9b7a206 /occ_status.cpp
parent3e5422ed1a67bb37cd4dcb0159c803badf98c9fa (diff)
downloadopenpower-occ-control-715595b64ead477ceae235208a290808234cdcf0.tar.gz
openpower-occ-control-715595b64ead477ceae235208a290808234cdcf0.zip
Reset hub scan variable when OCC goes inactive
Need to re-scan the second processors hub chip on every boot of the system Resolves openbmc/openbmc#2161 Change-Id: I089140333462d83f66a0ad207fecb679cba79210 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'occ_status.cpp')
-rw-r--r--occ_status.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/occ_status.cpp b/occ_status.cpp
index 7eafb66..94b8c4c 100644
--- a/occ_status.cpp
+++ b/occ_status.cpp
@@ -42,6 +42,9 @@ bool Status::occActive(bool value)
// Do the unbind.
device.unBind();
+
+ // Indicate the hub FSI scan needs to be done again
+ hubFsiScanDone = false;
}
}
return Base::Status::occActive(value);
OpenPOWER on IntegriCloud