diff options
| author | Marty Gloff <mgloff@us.ibm.com> | 2017-01-17 10:22:08 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-02-10 17:53:03 -0500 |
| commit | b00bd99484f2ec6e16e51705d124b52c13a39e37 (patch) | |
| tree | 6dc80f58050f6e4f371f1b0480ca395ff910c232 /src/include/usr | |
| parent | 1be6c479bcf84d858260ab64ea9ed46d6633ffbb (diff) | |
| download | talos-hostboot-b00bd99484f2ec6e16e51705d124b52c13a39e37.tar.gz talos-hostboot-b00bd99484f2ec6e16e51705d124b52c13a39e37.zip | |
Quiesce SBE before writing SEEPROM
Call sendPsuQuiesceSbe before doing the deviceWrite of the SBE SEEPROM
with the SBE image.
Change-Id: I6d3cec5b0430b8083acabc30bb7ff14ba5e1b56e
RTC:158899
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34994
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr')
| -rw-r--r-- | src/include/usr/sbeio/sbe_psudd.H | 14 | ||||
| -rw-r--r-- | src/include/usr/sbeio/sbeioif.H | 14 | ||||
| -rw-r--r-- | src/include/usr/sbeio/sbeioreasoncodes.H | 2 |
3 files changed, 17 insertions, 13 deletions
diff --git a/src/include/usr/sbeio/sbe_psudd.H b/src/include/usr/sbeio/sbe_psudd.H index c16a3baa2..2ad545f5f 100644 --- a/src/include/usr/sbeio/sbe_psudd.H +++ b/src/include/usr/sbeio/sbe_psudd.H @@ -440,19 +440,21 @@ class SbePsu }; /** - * @Brief perform SBE PSU chip-op + * @brief perform SBE PSU chip-op * + * @param[in] i_target Proc target to use for PSU Request * @param[in] i_pPsuRequest Pointer to PSU request commands * @param[out] o_pPsuResponse Pointer to PSU response * @param[in] i_timeout Time out for response * @param[in] i_reqMsgs 4 bit mask telling which regs to write * @param[in] i_rspMsgs 4 bit mask telling which regs to read */ - errlHndl_t performPsuChipOp(psuCommand * i_pPsuCommand, - psuResponse * o_pPsuResponse, - const uint64_t i_timeout, - uint8_t i_reqMsgs, - uint8_t i_rspMsgs); + errlHndl_t performPsuChipOp(TARGETING::Target * i_target, + psuCommand * i_pPsuRequest, + psuResponse * o_pPsuResponse, + const uint64_t i_timeout, + uint8_t i_reqMsgs, + uint8_t i_rspMsgs); protected: diff --git a/src/include/usr/sbeio/sbeioif.H b/src/include/usr/sbeio/sbeioif.H index 0a94caae3..3c014df48 100644 --- a/src/include/usr/sbeio/sbeioif.H +++ b/src/include/usr/sbeio/sbeioif.H @@ -62,12 +62,14 @@ namespace SBEIO errlHndl_t sendSystemConfig(const uint64_t i_systemConfig ); /** - * @brief Sends a PSU chipOp to quiesce the SBE - * - * @return errlHndl_t Error log handle on failure. - * - */ - errlHndl_t sendPsuQueisceSbeCmd (); + * @brief Sends a PSU chipOp to quiesce the SBE + * + * @param[in] i_target Target with SBE to quiesce + * + * @return errlHndl_t Error log handle on failure. + * + */ + errlHndl_t sendPsuQuiesceSbe(TARGETING::Target * i_target); /** * @brief Get SCOM via SBE FIFO diff --git a/src/include/usr/sbeio/sbeioreasoncodes.H b/src/include/usr/sbeio/sbeioreasoncodes.H index abd9540ca..7294a45c3 100644 --- a/src/include/usr/sbeio/sbeioreasoncodes.H +++ b/src/include/usr/sbeio/sbeioreasoncodes.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2016 */ +/* Contributors Listed Below - COPYRIGHT 2013,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ |

