summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/hwasPlat.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwas/hwasPlat.C')
-rw-r--r--src/usr/hwas/hwasPlat.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr/hwas/hwasPlat.C b/src/usr/hwas/hwasPlat.C
index 36bab192b..38618e3e7 100644
--- a/src/usr/hwas/hwasPlat.C
+++ b/src/usr/hwas/hwasPlat.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2016 */
+/* Contributors Listed Below - COPYRIGHT 2012,2017 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
@@ -158,6 +158,9 @@ errlHndl_t platReadIDEC(const TargetHandle_t &i_target)
((id_ec & 0x00F0000000000000ull) >> 52));
i_target->setAttr<ATTR_EC>(ec);
+ // until we read ECID, HDAT_EC==EC
+ i_target->setAttr<ATTR_HDAT_EC>(ec);
+
// ID - nibbles 1,5,3,4
// 01234567
uint32_t id = (((id_ec & 0x0F00000000000000ull) >> 44) |
OpenPOWER on IntegriCloud