summaryrefslogtreecommitdiffstats
path: root/src/usr/initservice
diff options
context:
space:
mode:
authorAndrew Jeffery <andrewrj@au1.ibm.com>2018-09-17 17:23:10 +0930
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-10-10 13:44:09 -0500
commite2c0716a09843f71191a65fd5d72a40eb9c95acd (patch)
treee56231b57a8bc8b92165fabb0f21beb4f69b692a /src/usr/initservice
parent5fc457309f2c6bad2bf1464a4cc7756692ede3b8 (diff)
downloadtalos-hostboot-e2c0716a09843f71191a65fd5d72a40eb9c95acd.tar.gz
talos-hostboot-e2c0716a09843f71191a65fd5d72a40eb9c95acd.zip
ipmi: Remove IpmiRP dependency on targeting
Shortly, a PNOR implementation will be introduced that is dependent on IPMI for managing the layout of the LPC FW space. To facilitate this, remove IpmiRP's dependency on Targeting so that the ipmibase module can be moved into the base image (to be initialised before the PNOR implementation). Break the dependency by having the Targeting service initialisation fetch the maximum IPMI buffer size from the IPMI interface and populate the necessary attribute for HBRT. Change-Id: Ie51244435b0e14c9a5f0838283021b08858035f6 Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65937 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 HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/initservice')
-rw-r--r--src/usr/initservice/extinitsvc/extinitsvctasks.H24
1 files changed, 15 insertions, 9 deletions
diff --git a/src/usr/initservice/extinitsvc/extinitsvctasks.H b/src/usr/initservice/extinitsvc/extinitsvctasks.H
index 757a10478..b3fc8adec 100644
--- a/src/usr/initservice/extinitsvc/extinitsvctasks.H
+++ b/src/usr/initservice/extinitsvc/extinitsvctasks.H
@@ -85,6 +85,21 @@ const TaskInfo g_exttaskinfolist[] = {
#endif
/**
+ * @brief IPMI resource provider
+ */
+#ifdef CONFIG_BMC_IPMI
+ {
+ "libipmibase.so", // taskname
+ NULL, // no ptr to fnct
+ {
+
+ START_TASK, // task type
+ EXT_IMAGE, // Extended Module
+ }
+ },
+#endif
+
+ /**
* @brief targeting task,
*/
{
@@ -183,15 +198,6 @@ const TaskInfo g_exttaskinfolist[] = {
*/
#ifdef CONFIG_BMC_IPMI
{
- "libipmibase.so", // taskname
- NULL, // no ptr to fnct
- {
-
- START_TASK, // task type
- EXT_IMAGE, // Extended Module
- }
- },
- {
"libipmiext.so", // taskname
NULL, // no ptr to fnct
{
OpenPOWER on IntegriCloud