summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory
diff options
context:
space:
mode:
authorStephen Glancy <sglancy@us.ibm.com>2017-10-30 10:41:03 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2017-12-22 15:53:13 -0500
commit296cd5865b39f7bac06a9b11add74fe095f364ef (patch)
treefb0967ffe6e1efdeb3d8f32b86dd6917e09f3151 /src/import/chips/p9/procedures/hwp/memory
parent3440e65b32f2c84f79b5cabfe939337d1e41e38f (diff)
downloadtalos-hostboot-296cd5865b39f7bac06a9b11add74fe095f364ef.tar.gz
talos-hostboot-296cd5865b39f7bac06a9b11add74fe095f364ef.zip
Adds lab PDA support
Change-Id: Iea85858e918ddf2d5ba641e1c494eee6e50f91c2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49650 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51097 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/hwp/memory')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/pda.C4
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/pda.H2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/pda.C b/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/pda.C
index 5117cfe31..b7f5e475a 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/pda.C
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/pda.C
@@ -254,7 +254,7 @@ fapi2::ReturnCode add_enable( const fapi2::Target<fapi2::TARGET_TYPE_DIMM>& i_ta
// Overrides the PDA value to be enabled
l_mrs03.iv_pda = fapi2::ENUM_ATTR_EFF_PER_DRAM_ACCESS_ENABLE;
- FAPI_TRY( mss::mrs_engine(i_target, l_mrs03, i_rank, DELAY, io_inst) );
+ FAPI_TRY( mss::mrs_engine(i_target, l_mrs03, i_rank, mss::ddr4::pda::SAFE_COMMAND_DELAY, io_inst) );
fapi_try_exit:
return fapi2::current_err;
@@ -306,7 +306,7 @@ fapi2::ReturnCode add_disable( const fapi2::Target<fapi2::TARGET_TYPE_DIMM>& i_t
// Overrides the PDA value to be disabled
l_mrs03.iv_pda = fapi2::ENUM_ATTR_EFF_PER_DRAM_ACCESS_DISABLE;
- FAPI_TRY( mss::mrs_engine(i_target, l_mrs03, i_rank, DELAY, io_inst) );
+ FAPI_TRY( mss::mrs_engine(i_target, l_mrs03, i_rank, mss::ddr4::pda::SAFE_COMMAND_DELAY, io_inst) );
fapi_try_exit:
return fapi2::current_err;
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/pda.H b/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/pda.H
index 786ecad54..271e90368 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/pda.H
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/pda.H
@@ -67,7 +67,7 @@ enum consts : uint64_t
// 10 cycles for safety
SAFETY = 10,
// Total delay is your register max + safety
- DELAY = MAX_PDA_REG + SAFETY,
+ SAFE_COMMAND_DELAY = MAX_PDA_REG + SAFETY,
// PDA on/off settings
START_DELAY_VALUE = 0,
OpenPOWER on IntegriCloud