summaryrefslogtreecommitdiffstats
path: root/src/usr/util
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2016-06-23 14:00:12 -0500
committerStephen Cprek <smcprek@us.ibm.com>2016-07-18 15:32:36 -0500
commit9384efdc6ccd1ee809177193ad232d918e6a7664 (patch)
tree553ec63437fdb007860f0c29cd450e759db77603 /src/usr/util
parente9050e6e3cf5df20ac7ef4a8274c56f94180be8d (diff)
downloadtalos-hostboot-9384efdc6ccd1ee809177193ad232d918e6a7664.tar.gz
talos-hostboot-9384efdc6ccd1ee809177193ad232d918e6a7664.zip
Fixes for problems encountered during hbrt pm/occ/hcode bringup
Change-Id: I7938add6189a2e5dcd51cb3a7c0d1cdc55330428 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26205 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/util')
-rw-r--r--src/usr/util/runtime/utillidmgr_rt.C9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/usr/util/runtime/utillidmgr_rt.C b/src/usr/util/runtime/utillidmgr_rt.C
index 710159990..79eba6225 100644
--- a/src/usr/util/runtime/utillidmgr_rt.C
+++ b/src/usr/util/runtime/utillidmgr_rt.C
@@ -225,8 +225,15 @@ void UtilLidMgr::updateLid(uint32_t i_lidId)
//if it's in PNOR, it's not technically lid, so use a slightly
//different extension.
+ if (g_hostInterfaces->pnor_read)
+ {
+ iv_isLidInPnor = getLidPnorSection(iv_lidId, iv_lidPnorInfo);
+ }
+ else
+ {
+ iv_isLidInPnor = false;
+ }
sprintf(iv_lidFileName, "%x.lidbin", iv_lidId);
- iv_isLidInPnor = getLidPnorSection(iv_lidId, iv_lidPnorInfo);
iv_isLidInVFS = VFS::module_exists(iv_lidFileName);
}
OpenPOWER on IntegriCloud