summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2019-07-24 13:05:54 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-07-31 16:04:54 -0500
commitf088a0dc26ed66496d593af1c0c291ac44f4cb4f (patch)
treedc13b4fa2ef07ed14eb9999a11702264618a771a /src/include
parent44c6d599b85ac7a9c0a4dea70ea49a7a7916f128 (diff)
downloadtalos-hostboot-f088a0dc26ed66496d593af1c0c291ac44f4cb4f.tar.gz
talos-hostboot-f088a0dc26ed66496d593af1c0c291ac44f4cb4f.zip
Miscellaneous NVDIMM cleanup
- Move constants to .C file - Use constants for NVDIMM states - Clean up rt_cmds NVDIMM protection function Change-Id: I3ff81c76971e962eb99e2f3b6ea1f109355d337a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81261 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/usr/isteps/nvdimm/nvdimm.H b/src/include/usr/isteps/nvdimm/nvdimm.H
index 68f1b1c13..c07df0420 100644
--- a/src/include/usr/isteps/nvdimm/nvdimm.H
+++ b/src/include/usr/isteps/nvdimm/nvdimm.H
@@ -204,6 +204,7 @@ bool nvdimmDisarm(TARGETING::TargetHandleList &i_nvdimmTargetList);
* OCC_INACTIVE - set inactive state
* NVDIMM_FATAL_HW_ERROR - set fatal hw state
* NVDIMM_RISKY_HW_ERROR - set risky hw state
+ * NVDIMM_ENCRYPTION_ERROR - set encryption state
* Note: fatal error will stay with target preventing
* PROTECTED status until power is cycled again
*/
@@ -215,6 +216,7 @@ enum nvdimm_protection_t
OCC_INACTIVE = 3,
NVDIMM_FATAL_HW_ERROR = 4,
NVDIMM_RISKY_HW_ERROR = 5,
+ NVDIMM_ENCRYPTION_ERROR = 6,
/* deprecated, still used by PRD */
UNPROTECTED_BECAUSE_ERROR = 4,
};
OpenPOWER on IntegriCloud