diff options
| author | Tsung Yeung <tyeung@us.ibm.com> | 2018-08-06 08:51:22 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-10-30 16:50:11 -0500 |
| commit | 2c1c99f370191e4099870a0699cd6f01510222e7 (patch) | |
| tree | 52081d13a60adf0cfeea62189e45d48b9cb9203a /src/include/usr/isteps/nvdimm | |
| parent | d9711869369308c99eea851c45022b66f68b12df (diff) | |
| download | talos-hostboot-2c1c99f370191e4099870a0699cd6f01510222e7.tar.gz talos-hostboot-2c1c99f370191e4099870a0699cd6f01510222e7.zip | |
Adds NVDIMM IPL Support on ZZ
-New NVDIMM functions to support restore and trigger setup
-Includes NVDIMM step in call_mss_power_cleanup after mss_power_cleanup HWP
-Fixes attribute NV_STATUS_FLAG to match HDAT spec
Change-Id: I2d68123ceb0b8e7a33b54f9acad0968670a67ea9
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63948
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>
Reviewed-by: Christian R. Geddes <crgeddes@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/usr/isteps/nvdimm')
| -rw-r--r-- | src/include/usr/isteps/nvdimm/nvdimm.H | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/include/usr/isteps/nvdimm/nvdimm.H b/src/include/usr/isteps/nvdimm/nvdimm.H new file mode 100644 index 000000000..3c448a9ac --- /dev/null +++ b/src/include/usr/isteps/nvdimm/nvdimm.H @@ -0,0 +1,48 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/isteps/nvdimm/nvdimm.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2018 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ +#ifndef NVDIMM_H__ +#define NVDIMM_H__ + +#include <targeting/common/util.H> + +namespace NVDIMM +{ + +/** + * @brief Entry function to NVDIMM management + * - Restore image from NVDIMM NAND flash to DRAM + * - Arms the backup trigger to ddr_reset_n once the restore + * is completed + * - Erase image + * + * @param[in] i_nvdimmList - list of nvdimm targets + * + **/ +void nvdimm_restore(TARGETING::TargetHandleList &i_nvdimmList); + +} + +#endif // NVDIMM_H__ + |

