summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/hostbootIstep.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwas/hostbootIstep.C')
-rw-r--r--src/usr/hwas/hostbootIstep.C12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usr/hwas/hostbootIstep.C b/src/usr/hwas/hostbootIstep.C
index 9205e03fc..20552389b 100644
--- a/src/usr/hwas/hostbootIstep.C
+++ b/src/usr/hwas/hostbootIstep.C
@@ -29,6 +29,7 @@
#include <hwas/common/hwas.H>
#include <hwas/common/hwasCommon.H>
#include <hwas/common/hwas_reasoncodes.H>
+#include <hwas/hwasPlat.H>
#include <hwas/hostbootIstep.H>
#include <hwas/common/deconfigGard.H>
@@ -120,6 +121,17 @@ void* host_discover_targets( void *io_pArgs )
TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, "Normal IPL mode");
errl = discoverTargets();
+
+ // also if SP doesn't support change detection, call
+ // function to do it here.
+ if (!errl &&
+ !l_pTopLevel->getAttr<ATTR_SP_FUNCTIONS>()
+ .hardwareChangeDetection)
+ {
+ TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
+ "calling hwasChangeDetection");
+ errl = hwasChangeDetection();
+ }
}
}
OpenPOWER on IntegriCloud