summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2017-03-31 06:55:27 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-04-01 18:28:47 -0400
commita38c87949a30d0eaaca4b0072b78d26352e99bb1 (patch)
tree9460db9cf85965ee0be97e3388ad9307faf74930 /src
parent4ec5fe285a088a701f1071370720e7c04d2b6f7f (diff)
downloadtalos-hostboot-a38c87949a30d0eaaca4b0072b78d26352e99bb1.tar.gz
talos-hostboot-a38c87949a30d0eaaca4b0072b78d26352e99bb1.zip
Only populate OCC HDAT structs when OCC config enabled
CMVC-Prereq: 1020771 Change-Id: I9e8547c1b6af4a8be8c858666f9d58cd5f012fd3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38688 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: NAGENDRA K. GURRAM <nagendra.g@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/runtime/populate_hbruntime.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/runtime/populate_hbruntime.C b/src/usr/runtime/populate_hbruntime.C
index a6f946375..89456969d 100644
--- a/src/usr/runtime/populate_hbruntime.C
+++ b/src/usr/runtime/populate_hbruntime.C
@@ -517,6 +517,7 @@ errlHndl_t populate_HbRsvMem(uint64_t i_nodeId)
}
+#ifdef CONFIG_START_OCC_DURING_BOOT
// OCC Common entry
uint64_t l_occCommonAddr = l_topMemAddr
- VMM_ALL_HOMER_OCC_MEMORY_SIZE;
@@ -546,6 +547,7 @@ errlHndl_t populate_HbRsvMem(uint64_t i_nodeId)
l_labelSize );
traceHbRsvMemRange(l_rngPtr);
+#endif
}
OpenPOWER on IntegriCloud