diff options
author | Corey Swenson <cswenson@us.ibm.com> | 2019-11-04 21:45:12 -0600 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-11-19 23:31:41 -0600 |
commit | d432c4503559abd127ebd170891a50da3ce2683d (patch) | |
tree | 65fb2d08b89e496b5b0a182cd55309ed42e72f56 /src/include | |
parent | e3870cb85913e2a92843e157427f68ef86e566f8 (diff) | |
download | talos-hostboot-d432c4503559abd127ebd170891a50da3ce2683d.tar.gz talos-hostboot-d432c4503559abd127ebd170891a50da3ce2683d.zip |
Fix auto-arming NVDIMMs for ESS systems
ESS requires HB to arm the NVDIMMs during IPL
after PM complex is started. Requires moving
the nvdimmArm() and associated functions from
nvdimm_rt.C to nvdimm.C.
Change-Id: Ie7fd08b27ad7959b21086f0f291764c2156e5bd9
CQ:SW479909
CMVC-Prereq:1096403
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/86489
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Reviewed-by: Roland Veloz <rveloz@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/usr/isteps/nvdimm/nvdimm.H | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/usr/isteps/nvdimm/nvdimm.H b/src/include/usr/isteps/nvdimm/nvdimm.H index 2f4430791..136e5cda1 100644 --- a/src/include/usr/isteps/nvdimm/nvdimm.H +++ b/src/include/usr/isteps/nvdimm/nvdimm.H @@ -159,17 +159,6 @@ errlHndl_t nvdimmEraseNF(TARGETING::Target *i_nvdimm); */ void nvdimmSetStatusFlag(TARGETING::Target *i_nvdimm, const uint8_t i_status_flag); -#ifdef __HOSTBOOT_RUNTIME - -/** - * @brief Check nvdimm error state - * - * @param[in] i_nvdimm - nvdimm target - * - * @return bool - true if nvdimm is in any error state, false otherwise - */ -bool nvdimmInErrorState(TARGETING::Target *i_nvdimm); - /** * @brief This function arms/disarms the trigger based on i_state * @@ -205,6 +194,17 @@ bool nvdimmArm(TARGETING::TargetHandleList &i_nvdimmTargetList); */ bool nvdimmDisarm(TARGETING::TargetHandleList &i_nvdimmTargetList); +#ifdef __HOSTBOOT_RUNTIME + +/** + * @brief Check nvdimm error state + * + * @param[in] i_nvdimm - nvdimm target + * + * @return bool - true if nvdimm is in any error state, false otherwise + */ +bool nvdimmInErrorState(TARGETING::Target *i_nvdimm); + /** * @brief Check the ES (enery source)/backup power module(BPM) health status of * the individual NVDIMMs supplied in list |