summaryrefslogtreecommitdiffstats
path: root/src/usr/vpd/pvpd.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/vpd/pvpd.C')
-rw-r--r--src/usr/vpd/pvpd.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/vpd/pvpd.C b/src/usr/vpd/pvpd.C
index 371a87deb..ae6442554 100644
--- a/src/usr/vpd/pvpd.C
+++ b/src/usr/vpd/pvpd.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2018 */
+/* Contributors Listed Below - COPYRIGHT 2013,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -39,9 +39,9 @@
#include <vpd/pvpdenums.H>
#include <vpd/vpd_if.H>
#include <i2c/eepromif.H>
-#include <config.h>
#include "pvpd.H"
#include "cvpd.H"
+#include "dvpd.H"
#include "vpd.H"
#include <initservice/initserviceif.H>
@@ -245,7 +245,7 @@ errlHndl_t nodePresenceDetect(DeviceFW::OperationType i_opType,
}
pvpd_present = VPD::pvpdPresent( i_target );
-#if(defined( CONFIG_PVPD_READ_FROM_HW ) && !defined( __HOSTBOOT_RUNTIME) )
+#if(defined( CONFIG_PVPD_READ_FROM_HW ) && !defined( __HOSTBOOT_RUNTIME) && defined(CONFIG_PVPD_READ_FROM_PNOR))
if( pvpd_present )
{
// Check if the VPD data in the PNOR matches the SEEPROM
OpenPOWER on IntegriCloud