Skip to content

Commit

Permalink
Update pmic header files
Browse files Browse the repository at this point in the history
Change-Id: Ie6428fd5dd34a4afa06d548bff54eab759d90f0c
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81887
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com>
Dev-Ready: Steven B Janssen <janssens@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@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/81907
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Tested-by: Daniel M Crowell <dcrowell@us.ibm.com>
  • Loading branch information
janssens2 authored and dcrowell77 committed Aug 9, 2019
1 parent 8aa5e5f commit 1be056a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
Expand Up @@ -51,16 +51,6 @@ namespace mss
{
namespace pmic
{

///
/// @brief Different enable operations
///
enum enable_mode
{
SPD = 0, // Use values from the SPD (default). Overwrite the vendor region with SPD settings
MANUAL = 1, // Use voltage settings currently in the vendor region. (Changed via pmic_update, or factory defaults)
};

/// @brief pointer to PMIC attribute getters for DIMM target
typedef fapi2::ReturnCode (*pmic_attr_ptr)(const fapi2::Target<fapi2::TARGET_TYPE_DIMM>& i_target, uint8_t& o_value);
typedef fapi2::ReturnCode (*pmic_attr_ptr_signed)(const fapi2::Target<fapi2::TARGET_TYPE_DIMM>& i_target,
Expand Down
17 changes: 16 additions & 1 deletion src/import/chips/ocmb/common/procedures/hwp/pmic/pmic_enable.H
Expand Up @@ -37,7 +37,22 @@
#define __PMIC_ENABLE_H__

#include <fapi2.H>
#include <lib/utils/pmic_enable_utils.H>

namespace mss
{
namespace pmic
{

///
/// @brief Different enable operations
///
enum enable_mode
{
SPD = 0, // Use values from the SPD (default). Overwrite the vendor region with SPD settings
MANUAL = 1, // Use voltage settings currently in the vendor region. (Changed via pmic_update, or factory defaults)
};
}
}

typedef fapi2::ReturnCode (*pmic_enable_FP_t) (const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>&,
const mss::pmic::enable_mode);
Expand Down

0 comments on commit 1be056a

Please sign in to comment.