summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/nvdimm_utils.H
diff options
context:
space:
mode:
authorTsung Yeung <tyeung@us.ibm.com>2019-03-22 09:43:38 -0400
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-04-04 09:35:17 -0500
commit9ab1bc28a6d2b703cab2d36985e17601d85b0c20 (patch)
treee385e653759c55e2f89d481bee0d981754a960b7 /src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/nvdimm_utils.H
parent0c1d170c7552632462a0986ebfc64e21f7b36039 (diff)
downloadtalos-hostboot-9ab1bc28a6d2b703cab2d36985e17601d85b0c20.tar.gz
talos-hostboot-9ab1bc28a6d2b703cab2d36985e17601d85b0c20.zip
Preload CCS program to support EPOW on NVDIMM
This is written specifically for NVDIMM on P9 Nimbus. The current recipe relies on the MC sequencer to enter STR in the event of EPOW and could be delayed depending on the status of the bus. CCS will ensure the immediate entry of the STR and the order of execution (STR -> assert RESETn) Change-Id: Ic117b489582aaf92810e905f43fe2e4e0408eeeb CQ:SW458983 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74969 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@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/75019 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/nvdimm_utils.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/nvdimm_utils.H9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/nvdimm_utils.H b/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/nvdimm_utils.H
index fe58fae31..538a650ba 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/nvdimm_utils.H
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/nvdimm_utils.H
@@ -171,6 +171,15 @@ fapi2::ReturnCode post_restore_zqcal( const fapi2::Target<fapi2::TARGET_TYPE_MCA
template< fapi2::TargetType T >
fapi2::ReturnCode post_restore_transition( const fapi2::Target<T>& i_target );
+///
+/// @brief Preload the CCS with the EPOW sequence
+/// @param[in] i_target the target associated with this subroutine
+/// @return FAPI2_RC_SUCCESS iff setup was successful
+/// @note This is written specifically to support EPOW on NVDIMM and
+/// should only be called after all the draminit.
+///
+fapi2::ReturnCode preload_epow_sequence( const fapi2::Target<fapi2::TARGET_TYPE_MCA>& i_target );
+
}//ns nvdimm
}//ns mss
OpenPOWER on IntegriCloud