summaryrefslogtreecommitdiffstats
path: root/src/usr/vpd/test/dvpdtest.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/vpd/test/dvpdtest.H')
-rwxr-xr-xsrc/usr/vpd/test/dvpdtest.H7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/usr/vpd/test/dvpdtest.H b/src/usr/vpd/test/dvpdtest.H
index b0d62a062..3f16139f3 100755
--- a/src/usr/vpd/test/dvpdtest.H
+++ b/src/usr/vpd/test/dvpdtest.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2018 */
+/* Contributors Listed Below - COPYRIGHT 2013,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -37,7 +37,6 @@
#include <errl/errlentry.H>
#include <devicefw/driverif.H>
#include <targeting/common/predicates/predicatectm.H>
-#include <config.h>
#include <vpd/dvpdenums.H>
#include <vpd/vpdreasoncodes.H>
@@ -732,7 +731,7 @@ class DVPDTest: public CxxTest::TestSuite
DVPDTest() : CxxTest::TestSuite()
{
TRACFCOMP( g_trac_vpd, "Starting DVPDTest" );
-#ifdef CONFIG_SECUREBOOT
+#if (defined CONFIG_SECUREBOOT && ! defined CONFIG_AXONE)
#ifndef __HOSTBOOT_RUNTIME
errlHndl_t l_err = loadSecureSection(PNOR::MEMD);
if(l_err)
@@ -746,7 +745,7 @@ class DVPDTest: public CxxTest::TestSuite
~DVPDTest()
{
-#ifdef CONFIG_SECUREBOOT
+#if (defined CONFIG_SECUREBOOT && ! defined CONFIG_AXONE)
#ifndef __HOSTBOOT_RUNTIME
errlHndl_t l_err = unloadSecureSection(PNOR::MEMD);
TRACFCOMP( g_trac_vpd, "Ending DVPDTest" );
OpenPOWER on IntegriCloud