summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures
diff options
context:
space:
mode:
authorLouis Stermole <stermole@us.ibm.com>2019-07-03 11:29:23 -0400
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-07-10 08:51:38 -0500
commit4cedc849f4b002e27cda455c3882ea4acadd6e88 (patch)
tree1463fa34702c2d0c146ee68ff39e086aa54e9da3 /src/import/chips/p9/procedures
parent1b5a0bda16a0eb057ef8f445c46c2c30c66be9cf (diff)
downloadtalos-hostboot-4cedc849f4b002e27cda455c3882ea4acadd6e88.tar.gz
talos-hostboot-4cedc849f4b002e27cda455c3882ea4acadd6e88.zip
Fix ddimm_get_efd for EFDs that support multiple ranks
Change-Id: Iffbd33faa221d1012f4b79475693734826b1c5dc Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79964 Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79984 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures')
-rw-r--r--src/import/chips/p9/procedures/hwp/accessors/ddimm_get_efd.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/accessors/ddimm_get_efd.C b/src/import/chips/p9/procedures/hwp/accessors/ddimm_get_efd.C
index 891ba4911..4f939789c 100644
--- a/src/import/chips/p9/procedures/hwp/accessors/ddimm_get_efd.C
+++ b/src/import/chips/p9/procedures/hwp/accessors/ddimm_get_efd.C
@@ -834,12 +834,12 @@ extern "C"
// If the 'is implemented flag' is true for the EFD, AND if the EFD
// frequency mask contains the frequency mask we are looking for AND
- // the EFD master rank matches the master rank we are looking for
+ // the EFD master rank bitmap includes the master rank we are looking for
// then copy the EFD block for the caller.
if ( (l_efdMetaDataNptr[SPD_EFD_META_DATA_EFD_BYTE_3_OFFSET] &
SPD_EFD_META_DATA_EFD_IS_IMPLEMENTED_MASK) &&
(l_efdFreqMask & l_freqMask) &&
- (l_efdDataNptr[EFD_DDR4_MASTER_RANK_ADDR] == l_rankMask) )
+ (l_efdDataNptr[EFD_DDR4_MASTER_RANK_ADDR] & l_rankMask) )
{
// io_vpdInfo.iv_size and EFD block size compatibility
// have been verified above
OpenPOWER on IntegriCloud