From ebf286d5e28702481eaff6bd21ea24f4828c1213 Mon Sep 17 00:00:00 2001 From: Christian Geddes Date: Mon, 22 Apr 2019 15:38:53 -0500 Subject: 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 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: ANDRE A. MARIN Reviewed-by: Louis Stermole Reviewed-by: Jennifer A. Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76361 Reviewed-by: Jenkins Server Reviewed-by: Christian R. Geddes Tested-by: Christian R. Geddes --- .../explorer/procedures/hwp/memory/lib/exp_draminit_utils.H | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src') 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(iv_target); FAPI_ASSERT(false, -- cgit v1.2.3