Skip to content

Commit

Permalink
PRD: removed stubbed HWSV enums from Hostboot code
Browse files Browse the repository at this point in the history
Change-Id: I3b41ef77184ca20e240e0f1cffc548860eb8eb20
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62600
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63388
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
  • Loading branch information
zane131 committed Jul 27, 2018
1 parent 62f4b4a commit 832ce22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
8 changes: 2 additions & 6 deletions src/usr/diag/prdf/common/plat/prdfRasServices_common.C
Original file line number Diff line number Diff line change
Expand Up @@ -426,12 +426,8 @@ errlHndl_t ErrDataService::GenerateSrcPfa( ATTENTION_TYPE i_attnType,
// Get the HCDB diagnostics policy.
//--------------------------------------------------------------------------

HWSV::hwsvDiagUpdate l_diagUpdate = HWSV::HWSV_DIAG_NEEDED;
if ( ERRL_ACTION_HIDDEN == errlAct )
{
// Diagnostics is not needed in the next IPL cycle for non-visible logs.
l_diagUpdate = HWSV::HWSV_DIAG_NOT_NEEDED;
}
// Diagnostics is only needed on the next IPL for visible logs.
bool l_diagUpdate = ( ERRL_ACTION_HIDDEN != errlAct );

//--------------------------------------------------------------------------
// Initialize the PFA data
Expand Down
23 changes: 1 addition & 22 deletions src/usr/diag/prdf/common/prdfEnums.H
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2012,2017 */
/* Contributors Listed Below - COPYRIGHT 2012,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -62,27 +62,6 @@ enum MFG_THRES_SYNC_MSG_TYPE
ERRL_ACTION_DONT_TERMINATE
};

namespace HWSV
{
typedef uint32_t hwsvDiagUpdate;
typedef uint32_t hwsvTermEnum;
typedef uint32_t hwsvDeconfigSchedule;

enum
{
// hwsvTermEnum
HWSV_SYS_NO_TERMINATE = 0,

// hwsvDiagUpdate
HWSV_DIAG_NOT_NEEDED = 0,
HWSV_DIAG_NEEDED,

//hwsvDeconfigSchedule
HWSV_DECONFIG_IMMEDIATE = 0,
HWSV_DECONFIG_DEFER
};
};

#endif // __HOSTBOOT_MODULE

#endif /* __prdfEnums_H */
Expand Down

0 comments on commit 832ce22

Please sign in to comment.