summaryrefslogtreecommitdiffstats
path: root/sbe
diff options
context:
space:
mode:
authorPrasad Bg Ranganath <prasadbgr@in.ibm.com>2016-06-22 03:55:23 -0500
committerPARVATHI RACHAKONDA <prachako@in.ibm.com>2016-06-23 05:21:47 -0400
commitfac00e7e0dbc8ff82d2fc0076cf32851990e1a4b (patch)
tree053400600985e6bc80c0a993a72cf235ebbcbec2 /sbe
parentcdda097460ca649a6feeb7f2d2eb975adf14cc02 (diff)
downloadtalos-sbe-fac00e7e0dbc8ff82d2fc0076cf32851990e1a4b.tar.gz
talos-sbe-fac00e7e0dbc8ff82d2fc0076cf32851990e1a4b.zip
PUTRING changes to avoid PPE CI fail for HWPS
Change-Id: I279ddc010854030511137b50af96fe5e4ecef53a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26112 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Jenkins Server Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
Diffstat (limited to 'sbe')
-rw-r--r--sbe/hwpf/src/plat_ring_traverse.C8
1 files changed, 7 insertions, 1 deletions
diff --git a/sbe/hwpf/src/plat_ring_traverse.C b/sbe/hwpf/src/plat_ring_traverse.C
index 0309bfd5..cd5ff7e4 100644
--- a/sbe/hwpf/src/plat_ring_traverse.C
+++ b/sbe/hwpf/src/plat_ring_traverse.C
@@ -69,6 +69,13 @@ fapi2::ReturnCode findRS4InImageAndApply(
// Get the address of the Section-TOR
P9XipHeader *l_hdr = getXipHdr();
P9XipSection *l_section = &(l_hdr->iv_section[P9_XIP_SECTION_SBE_RINGS]);
+
+
+ if (!(l_section->iv_offset))
+ {
+ SBE_TRACE("No ring data in .RING section");
+ break;
+ }
SectionTOR *l_sectionTOR = (SectionTOR *)(g_seepromAddr +
l_section->iv_offset);
@@ -340,7 +347,6 @@ fapi2::ReturnCode findRS4InImageAndApply(
}
else
{
- l_rc = fapi2::FAPI2_RC_PLAT_RING_ID_NOT_FOUND_IN_RS4_IMAGE;
SBE_TRACE("Ring image is not found for this is ringId %u",i_ringID);
}
}while(0);
OpenPOWER on IntegriCloud