summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c/eepromdd.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/i2c/eepromdd.C')
-rwxr-xr-xsrc/usr/i2c/eepromdd.C8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/i2c/eepromdd.C b/src/usr/i2c/eepromdd.C
index 317065c75..b0482f6f0 100755
--- a/src/usr/i2c/eepromdd.C
+++ b/src/usr/i2c/eepromdd.C
@@ -46,10 +46,13 @@
#include <i2c/eepromddreasoncodes.H>
#include <i2c/eepromif.H>
#include <i2c/i2creasoncodes.H>
-#include <i2c/i2cif.H>
#include "eepromdd.H"
#include "errlud_i2c.H"
+#ifndef __HOSTBOOT_RUNTIME
+#include <i2c/i2cif.H>
+#endif
+
// ----------------------------------------------
// Globals
// ----------------------------------------------
@@ -254,6 +257,7 @@ errlHndl_t eepromPerformOp( DeviceFW::OperationType i_opType,
return err;
} // end eepromPerformOp
+#ifndef __HOSTBOOT_RUNTIME
//-------------------------------------------------------------------
//eepromPresence
//-------------------------------------------------------------------
@@ -315,7 +319,7 @@ bool eepromPresence ( TARGETING::Target * i_target )
TRACDCOMP(g_trac_eeprom, EXIT_MRK"eepromPresence()");
return l_present;
}
-
+#endif
// ------------------------------------------------------------------
OpenPOWER on IntegriCloud