summaryrefslogtreecommitdiffstats
path: root/src/usr/diag
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2014-11-15 15:00:30 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-12-01 15:44:50 -0600
commit197c9f53a5bb7d20ec8f4e0aa2093b329c82de41 (patch)
tree6b7e29adc111cc26b57cba336f2f75d8cc276793 /src/usr/diag
parent21fcb80bae184cc5a219fbcdec1c2b3ce4c6be3f (diff)
downloadtalos-hostboot-197c9f53a5bb7d20ec8f4e0aa2093b329c82de41.tar.gz
talos-hostboot-197c9f53a5bb7d20ec8f4e0aa2093b329c82de41.zip
PRD: split Hostboot IPL code in prdfMbaDomain
Change-Id: I08d50d6386aac7c8d06c52ddc0d8be9389b211aa Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14508 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14575
Diffstat (limited to 'src/usr/diag')
-rw-r--r--src/usr/diag/prdf/framework/config/prdfMbaDomain.H8
-rw-r--r--src/usr/diag/prdf/prdf_hb_only.mk6
2 files changed, 10 insertions, 4 deletions
diff --git a/src/usr/diag/prdf/framework/config/prdfMbaDomain.H b/src/usr/diag/prdf/framework/config/prdfMbaDomain.H
index d8ca70f36..494376cbc 100644
--- a/src/usr/diag/prdf/framework/config/prdfMbaDomain.H
+++ b/src/usr/diag/prdf/framework/config/prdfMbaDomain.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -37,12 +39,16 @@ class MbaDomain : public MbaDomainCommon
MbaDomainCommon( i_did, i_size )
{}
+ #ifndef __HOSTBOOT_RUNTIME
+
/**
* @brief Starts memory background scrubbing for each MBA in the node.
* @param Non-SUCCESS if an internal function failed, SUCCESS otherwise.
*/
int32_t startScrub();
+ #endif
+
};
} // end namespace PRDF
diff --git a/src/usr/diag/prdf/prdf_hb_only.mk b/src/usr/diag/prdf/prdf_hb_only.mk
index 328611822..a748b3bc9 100644
--- a/src/usr/diag/prdf/prdf_hb_only.mk
+++ b/src/usr/diag/prdf/prdf_hb_only.mk
@@ -70,9 +70,6 @@ prd_incpath += ${ROOTPATH}/src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seepr
# ./
prd_obj += prdfMain.o
-# framework/config/
-prd_obj += prdfMbaDomain.o
-
# framework/resolution/
prd_obj += prdfDumpResolution.o
@@ -108,6 +105,9 @@ ifneq (${HOSTBOOT_RUNTIME},1)
# ./
prd_obj += prdfMain_ipl.o
+# framework/config/
+prd_obj += prdfMbaDomain.o
+
endif
################################################################################
OpenPOWER on IntegriCloud