summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Silver <bsilver@us.ibm.com>2014-06-27 09:41:31 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-07-01 13:36:32 -0500
commit2022bdc64bc838f71fdf8181e9ff83b9e24ed6f8 (patch)
treec132d3ec775805eadfd0f17afcd98ade1441076d /src
parent48560f3a62a2790a4b5d6900c8d1cf59364e5150 (diff)
downloadblackbird-hostboot-2022bdc64bc838f71fdf8181e9ff83b9e24ed6f8.tar.gz
blackbird-hostboot-2022bdc64bc838f71fdf8181e9ff83b9e24ed6f8.zip
Remove bad-dq reconfigure loop if CONFIG_VPD_GETMACRO_USE_EFF_ATTR is set.
Change-Id: I5c20f4f5ede8ef2a8f1fd7a7a692ccee1115e53f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11901 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/hwpf/hwp/dimmBadDqBitmapAccessHwp.C7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/hwpf/hwp/dimmBadDqBitmapAccessHwp.C b/src/usr/hwpf/hwp/dimmBadDqBitmapAccessHwp.C
index f8402e778..4c61ab897 100644
--- a/src/usr/hwpf/hwp/dimmBadDqBitmapAccessHwp.C
+++ b/src/usr/hwpf/hwp/dimmBadDqBitmapAccessHwp.C
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -54,6 +56,7 @@
*/
#include <dimmBadDqBitmapAccessHwp.H>
+#include <config.h>
// DQ Data format in DIMM SPD
const uint32_t DIMM_BAD_DQ_MAGIC_NUMBER = 0xbadd4471;
@@ -506,6 +509,7 @@ fapi::ReturnCode dimmBadDqBitmapSet(
// 'OR' values in case of multiple reasons for reconfigure
l_reconfigAttr |= fapi::ENUM_ATTR_RECONFIGURE_LOOP_BAD_DQ_BIT_SET;
+#ifndef CONFIG_VPD_GETMACRO_USE_EFF_ATTR
l_rc = FAPI_ATTR_SET(ATTR_RECONFIGURE_LOOP, NULL, l_reconfigAttr);
if (l_rc)
{
@@ -513,6 +517,7 @@ fapi::ReturnCode dimmBadDqBitmapSet(
"ATTR_RECONFIGURE_LOOP");
return l_rc;
}
+#endif
}
// DQ SPD Attribute
OpenPOWER on IntegriCloud