diff options
author | Corey Swenson <cswenson@us.ibm.com> | 2014-05-19 10:13:25 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-05-22 17:48:36 -0500 |
commit | 8c539bfca3dc0e557828dee6a6cf5c3ea68ebcec (patch) | |
tree | bfb5962982e6b8047f15e7b618d5d359cf523bbf /src/usr/vpd/spd.H | |
parent | aa0446e9d1c2f0fb17a6ef40b689ec7281d65387 (diff) | |
download | talos-hostboot-8c539bfca3dc0e557828dee6a6cf5c3ea68ebcec.tar.gz talos-hostboot-8c539bfca3dc0e557828dee6a6cf5c3ea68ebcec.zip |
Create PRES SPD function to avoid unnecessary error log
Change-Id: Ic2258748d9e430440133e2772fd58f805ffa09bd
RTC: 98917
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11163
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/vpd/spd.H')
-rwxr-xr-x | src/usr/vpd/spd.H | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/usr/vpd/spd.H b/src/usr/vpd/spd.H index 4e341c2d8..4ba41cc90 100755 --- a/src/usr/vpd/spd.H +++ b/src/usr/vpd/spd.H @@ -322,6 +322,16 @@ errlHndl_t spdReadBinaryFile ( uint64_t i_byteAddr, void * o_data ); /** + * @brief This function is used to check if the given target + * is present + * + * @param[in] i_target - DIMM Target device + * + * @return bool - true if present, false if not present + */ +bool spdPresent ( TARGETING::Target * i_target ); + +/** * @brief This function performs the presence detect for all DIMMs. * * @param[in] i_opType - Operation type, see DeviceFW::OperationType |