summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClaus Michael Olsen <cmolsen@us.ibm.com>2017-06-02 07:48:19 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-06-07 16:59:58 -0400
commit72a32a1058877dd616c72777c6f7545c55117bed (patch)
tree2a9470efc02a5599aa579b57697f948e6adbe578 /src
parenta742bd55ce4c2816c64511c48e2464874adfa32f (diff)
downloadtalos-hostboot-72a32a1058877dd616c72777c6f7545c55117bed.tar.gz
talos-hostboot-72a32a1058877dd616c72777c6f7545c55117bed.zip
xip_customize: Additional WIN32 changes.
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>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/procedures/hwp/customize/p9_xip_customize.C8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/import/chips/p9/procedures/hwp/customize/p9_xip_customize.C b/src/import/chips/p9/procedures/hwp/customize/p9_xip_customize.C
index a170517bf..0364da1ef 100644
--- a/src/import/chips/p9/procedures/hwp/customize/p9_xip_customize.C
+++ b/src/import/chips/p9/procedures/hwp/customize/p9_xip_customize.C
@@ -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);
@@ -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,
@@ -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);
@@ -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);
OpenPOWER on IntegriCloud