Skip to content

Commit

Permalink
xip_customize: Additional WIN32 changes.
Browse files Browse the repository at this point in the history
Change-Id: I50835bd7641214fc88071145607ecf55d93b6dda
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41304
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Michael C. Sgro <mcs793@us.ibm.com>
Reviewed-by: Richard J. Knight <rjknight@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41305
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
cmolsen authored and dcrowell77 committed Jun 7, 2017
1 parent a742bd5 commit 72a32a1
Showing 1 changed file with 0 additions and 8 deletions.
Expand Up @@ -1583,7 +1583,6 @@ ReturnCode p9_xip_customize (

FAPI_DBG("Image size before any VPD updates: %d", l_currentImageSize);

#ifndef WIN32
// Adjust the local size of MAX_SEEPROM_IMAGE_SIZE to accommodate enlarged image for Cronus
l_fapiRc2 = FAPI_ATTR_GET(fapi2::ATTR_MAX_SBE_SEEPROM_SIZE, FAPI_SYSTEM, attrMaxSbeSeepromSize);

Expand Down Expand Up @@ -1617,9 +1616,6 @@ ReturnCode p9_xip_customize (
}

FAPI_DBG("Platform adjusted MAX_SEEPROM_IMAGE_SIZE: %d", l_maxImageSize);
#else
l_maxImageSize = MAX_SEEPROM_IMAGE_SIZE;
#endif

// Make sure current image size isn't already too big for Seeprom
FAPI_ASSERT( l_currentImageSize <= l_maxImageSize,
Expand Down Expand Up @@ -1886,7 +1882,6 @@ ReturnCode p9_xip_customize (

l_hwRingsSection = (void*)((uintptr_t)io_image + l_xipRingsSection.iv_offset);

#ifndef WIN32
// Extract the DD level to enable retrieval of correct CME/SGPE ring blocks
l_fapiRc = FAPI_ATTR_GET_PRIVILEGED(fapi2::ATTR_EC, i_procTarget, attrDdLevel);

Expand All @@ -1895,9 +1890,6 @@ ReturnCode p9_xip_customize (
set_CHIP_TARGET(i_procTarget).
set_OCCURRENCE(1),
"FAPI_ATTR_GET(ATTR_EC) failed." );
#else
attrDdLevel = g_ddLevel;
#endif

FAPI_DBG("attrDdLevel = 0x%x", attrDdLevel);

Expand Down

0 comments on commit 72a32a1

Please sign in to comment.