diff options
author | Christian Geddes <crgeddes@us.ibm.com> | 2019-04-22 15:38:53 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2019-04-23 14:20:55 -0500 |
commit | ebf286d5e28702481eaff6bd21ea24f4828c1213 (patch) | |
tree | 1d90d6e56d0f4946e7b1a89d43bff63d316db51b /src | |
parent | 4766a68dc15b2c6ee730e68cb331176362f93683 (diff) | |
download | talos-hostboot-ebf286d5e28702481eaff6bd21ea24f4828c1213.tar.gz talos-hostboot-ebf286d5e28702481eaff6bd21ea24f4828c1213.zip |
Add support for dimm type DDIMM in exp draminit utils
While debugging draminit on simics we found that we were missing support
for the latest new type of dimm, DDIMM.
Change-Id: I2c803723a64061f6161e0ea176df4391c296792f
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76353
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: ANDRE A. MARIN <aamarin@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76361
Reviewed-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H index 7ffe531ce..cee9491c5 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2018 */ +/* Contributors Listed Below - COPYRIGHT 2018,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -55,9 +55,10 @@ namespace exp /// enum msdg_dimm_types { - MSDG_UDIMM = 0x0000, - MSDG_RDIMM = 0x0001, + MSDG_UDIMM = 0x0000, + MSDG_RDIMM = 0x0001, MSDG_LRDIMM = 0x0002, + MSDG_DDIMM = 0x0003, }; /// @@ -316,6 +317,10 @@ class phy_params io_phy_params.DimmType = MSDG_LRDIMM; break; + case fapi2::ENUM_ATTR_MEM_EFF_DIMM_TYPE_DDIMM: + io_phy_params.DimmType = MSDG_DDIMM; + break; + default: const auto& l_ocmb = mss::find_target<fapi2::TARGET_TYPE_OCMB_CHIP>(iv_target); FAPI_ASSERT(false, |