summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/hwasPlat.C
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-01-29 20:51:50 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-02-03 09:37:40 -0500
commit735a843bbf49a43b79059e562ccb79982474c93c (patch)
tree5befe5e8091434733d508c7cc69755352d64f3e2 /src/usr/hwas/hwasPlat.C
parentb89ddf13d9276d28faffc063fd9988ddc89300de (diff)
downloadtalos-hostboot-735a843bbf49a43b79059e562ccb79982474c93c.tar.gz
talos-hostboot-735a843bbf49a43b79059e562ccb79982474c93c.zip
Fix discover_targets error from SP target
Added check to skip IDEC check on SP target Force presence detection on SP target Change-Id: I47115aa1cd15a71a263944244d17c72539c72e56 RTC: 161726 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35542 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: DHRUVARAJ SUBHASH CHANDRAN <dhruvaraj@in.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/hwasPlat.C')
-rw-r--r--src/usr/hwas/hwasPlat.C12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usr/hwas/hwasPlat.C b/src/usr/hwas/hwasPlat.C
index 57a2e9ef6..63068b630 100644
--- a/src/usr/hwas/hwasPlat.C
+++ b/src/usr/hwas/hwasPlat.C
@@ -468,6 +468,18 @@ errlHndl_t platPresenceDetect(TargetHandleList &io_targets)
#endif
}
+ // if CLASS_SP
+ // Hostboot is told everything it needs to know about the
+ // SP at compile time so just mark the target as present
+ // by default
+ if (pTarget->getAttr<ATTR_TYPE>() == TYPE_SP)
+ {
+ HWAS_DBG("pTarget %.8X - detected present",
+ pTarget->getAttr<ATTR_HUID>());
+ pTarget_it++;
+ continue;
+ }
+
// call deviceRead() to see if they are present
bool present = false;
size_t presentSize = sizeof(present);
OpenPOWER on IntegriCloud