diff options
author | Corey Swenson <cswenson@us.ibm.com> | 2018-11-01 10:12:13 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-11-05 11:51:47 -0600 |
commit | 83335d59ac593a543bcbe8c9c2f030798c02a2dc (patch) | |
tree | 0c2e571ebe4d2c9dfaf929dd12385fa404faf918 /src/usr/ipmiext/ipmisel.C | |
parent | b26e6d85c0307ee42574a035a9f8743fd7233c9c (diff) | |
download | talos-hostboot-83335d59ac593a543bcbe8c9c2f030798c02a2dc.tar.gz talos-hostboot-83335d59ac593a543bcbe8c9c2f030798c02a2dc.zip |
Enable IPMI errl after targeting is initialized
A recent change split IPMI into base and extended.
Move the enable of IPMI errl from base to extended
to avoid targeting errors.
Change-Id: Ia833dd8178ff407dff1fa514b32468c5fc70e945
CQ:SW450286
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68265
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>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: ANDREW R. JEFFERY <andrewrj@au1.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/ipmiext/ipmisel.C')
-rw-r--r-- | src/usr/ipmiext/ipmisel.C | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/usr/ipmiext/ipmisel.C b/src/usr/ipmiext/ipmisel.C index 369c5b79f..dafcabca0 100644 --- a/src/usr/ipmiext/ipmisel.C +++ b/src/usr/ipmiext/ipmisel.C @@ -592,5 +592,19 @@ void IpmiSEL::execute(void) IPMI_TRAC(EXIT_MRK "message loop"); return; } // execute + + +/* + * @brief enable IPMI errl + */ +void IpmiSEL::errlEnable(errlHndl_t& o_errl) +{ + // call ErrlManager function - tell him that IPMI is ready! + ERRORLOG::ErrlManager::errlResourceReady(ERRORLOG::IPMI); +} + +TASK_ENTRY_MACRO( IpmiSEL::errlEnable ); + + #endif |