diff --git a/src/usr/util/utillidpnor.C b/src/usr/util/utillidpnor.C index 48381e0d767..109daa3dde0 100644 --- a/src/usr/util/utillidpnor.C +++ b/src/usr/util/utillidpnor.C @@ -158,7 +158,15 @@ bool UtilLidMgr::getLidPnorSectionInfo(uint32_t i_lidId, #endif #endif // @TODO CQ:SW400352 remove this check - if ((l_secId == PNOR::OCC) && PNOR::isSectionEmpty(l_secId)) + if ((l_secId == PNOR::OCC) +#ifndef __HOSTBOOT_RUNTIME + && PNOR::isSectionEmpty(l_secId) +#else + //use this check for HBRT due to secure lid load setting vaddr + //to zero -- which causes isSectionEmpty to segfault + && !o_lidPnorInfo.vaddr +#endif + ) { UTIL_FT("UtilLidMgr::getLidPnorSection PNOR section %s is empty get data from LID transfer", PNOR::SectionIdToString(l_secId)); @@ -170,4 +178,4 @@ bool UtilLidMgr::getLidPnorSectionInfo(uint32_t i_lidId, } while(0); return l_lidInPnor; -} \ No newline at end of file +}