diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2019-03-01 15:01:39 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2019-03-22 06:48:52 -0500 |
commit | 27d7ab8db73879905d8f8d965ea126fec42a428f (patch) | |
tree | e050de61b80d0525465819c26c960773a2be7297 /src/include/usr/isteps | |
parent | 086018c231e7f83f02988a587eeeae887e7f2e98 (diff) | |
download | talos-hostboot-27d7ab8db73879905d8f8d965ea126fec42a428f.tar.gz talos-hostboot-27d7ab8db73879905d8f8d965ea126fec42a428f.zip |
Moving libnvdimm into a resident module
The nvdimm module provides the back-end of a device driver
interface. That means that it has a REGISTER_ROUTE call that
will run when the module is loaded. Right now the module is
loaded/unloaded for several isteps, which means we end up
seeing DEVFW_RC_DOUBLE_REGISTRATION errors. These are only
informational, but they are still indicating a problem.
This change moves the libnvdimm.so module into the list of
extended initservice tasks that get loaded before we start
the isteps. This is where all of our other device drivers
live.
I cleaned up a leftover call to libmmio.so that was there
from the same kind of change previously.
Change-Id: I3e2e1bc8e273b46b8c297be0d9d75ff3e660fa00
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72731
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: Matt Derksen <mderkse1@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr/isteps')
-rw-r--r-- | src/include/usr/isteps/istep13list.H | 3 | ||||
-rw-r--r-- | src/include/usr/isteps/istep14list.H | 3 | ||||
-rw-r--r-- | src/include/usr/isteps/istep20list.H | 3 | ||||
-rw-r--r-- | src/include/usr/isteps/istep21list.H | 3 |
4 files changed, 0 insertions, 12 deletions
diff --git a/src/include/usr/isteps/istep13list.H b/src/include/usr/isteps/istep13list.H index d4788913d..5a00e9537 100644 --- a/src/include/usr/isteps/istep13list.H +++ b/src/include/usr/isteps/istep13list.H @@ -296,9 +296,6 @@ const DepModInfo g_istep13Dependancies = { DEP_LIB(libistep13.so), DEP_LIB(libisteps_mss.so), DEP_LIB(libcen.so), -#ifdef CONFIG_NVDIMM - DEP_LIB(libnvdimm.so), -#endif NULL } }; diff --git a/src/include/usr/isteps/istep14list.H b/src/include/usr/isteps/istep14list.H index bf5b00453..ac358f7b8 100644 --- a/src/include/usr/isteps/istep14list.H +++ b/src/include/usr/isteps/istep14list.H @@ -207,9 +207,6 @@ const DepModInfo g_istep14Dependancies = { DEP_LIB(libimageprocs.so), DEP_LIB(libcen.so), DEP_LIB(libnestmemutils.so), -#ifdef CONFIG_NVDIMM - DEP_LIB(libnvdimm.so), -#endif NULL } }; diff --git a/src/include/usr/isteps/istep20list.H b/src/include/usr/isteps/istep20list.H index 117ff4606..b8a98e3d2 100644 --- a/src/include/usr/isteps/istep20list.H +++ b/src/include/usr/isteps/istep20list.H @@ -92,9 +92,6 @@ const DepModInfo g_istep20Dependancies = { DEP_LIB(libistep20.so), DEP_LIB(libxz.so), DEP_LIB(libruntime.so), -#ifdef CONFIG_NVDIMM - DEP_LIB(libnvdimm.so), -#endif NULL } }; diff --git a/src/include/usr/isteps/istep21list.H b/src/include/usr/isteps/istep21list.H index d9c3e5515..65f62fab4 100644 --- a/src/include/usr/isteps/istep21list.H +++ b/src/include/usr/isteps/istep21list.H @@ -132,9 +132,6 @@ const DepModInfo g_istep21Dependancies = { #ifndef CONFIG_FSP_BUILD DEP_LIB(libnvram.so), #endif -#ifdef CONFIG_NVDIMM - DEP_LIB(libnvdimm.so), -#endif #ifdef CONFIG_UCD_FLASH_UPDATES DEP_LIB(libucd.so), #endif |