summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c/i2c.C
diff options
context:
space:
mode:
authorMatt Derksen <mderkse1@us.ibm.com>2019-01-14 16:34:04 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-01-21 08:50:48 -0600
commitad1c30eb712f64b0cb826b9592090d4a218b2a81 (patch)
tree88cd798ead90906e5ef5d280e240fd6cef43f91d /src/usr/i2c/i2c.C
parent868b68df85eb7aeed7eba3392303fa3be854e2a6 (diff)
downloadtalos-hostboot-ad1c30eb712f64b0cb826b9592090d4a218b2a81.tar.gz
talos-hostboot-ad1c30eb712f64b0cb826b9592090d4a218b2a81.zip
Move NVDIMM operations under NVDIMM modules
Makes it easier to find and include NVDIMM operations. Also makes it easier to exclude from non-nvdimm supported systems. Change-Id: I870c2246e1bb9201e6e8032f1868e6e4e6a2b91a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70489 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/i2c/i2c.C')
-rwxr-xr-xsrc/usr/i2c/i2c.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C
index bba2910c0..ba87667e2 100755
--- a/src/usr/i2c/i2c.C
+++ b/src/usr/i2c/i2c.C
@@ -57,9 +57,12 @@
#include <secureboot/service.H>
#include <i2c/eepromif.H>
#include <i2c/tpmddif.H>
-#include <i2c/nvdimmif.H>
#include <hwas/common/hwas.H> // HwasState
+#ifdef CONFIG_NVDIMM
+#include <isteps/nvdimm/nvdimmif.H>
+#endif
+
// ----------------------------------------------
// Globals
// ----------------------------------------------
OpenPOWER on IntegriCloud