summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/occ
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2015-02-10 17:18:45 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-03-01 16:42:17 -0600
commitdaf669b47a3ebf6fe8f116a25cd026b11ba9e2c6 (patch)
tree19680d620c53e498c51455ede93d6d0e0bd07180 /src/usr/hwpf/hwp/occ
parent1b488dc46eca2655066988c238c4ba059e7afe7c (diff)
downloadtalos-hostboot-daf669b47a3ebf6fe8f116a25cd026b11ba9e2c6.tar.gz
talos-hostboot-daf669b47a3ebf6fe8f116a25cd026b11ba9e2c6.zip
PRD: Support to write FIR data to HOMER.
Change-Id: I07af0734bbcc90f1b8988f865532ddf281ce47a5 RTC: 119828 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15972 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/occ')
-rw-r--r--src/usr/hwpf/hwp/occ/occ_common.C12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usr/hwpf/hwp/occ/occ_common.C b/src/usr/hwpf/hwp/occ/occ_common.C
index 037372778..5cb80678d 100644
--- a/src/usr/hwpf/hwp/occ/occ_common.C
+++ b/src/usr/hwpf/hwp/occ/occ_common.C
@@ -60,6 +60,10 @@
#include <p8_pm_firinit.H>
#include <p8_pm_prep_for_reset.H>
+#ifdef CONFIG_ENABLE_CHECKSTOP_ANALYSIS
+ #include <diag/prdf/prdfWriteHomerFirData.H>
+#endif
+
// Easy macro replace for unit testing
//#define TRACUCOMP(args...) TRACFCOMP(args)
#define TRACUCOMP(args...)
@@ -168,6 +172,14 @@ namespace HBOCC
{
config_data->firMaster = NOT_FIR_MASTER;
}
+
+ // TODO: RTC 124683 The ability to write the HOMER data is currently not
+ // available at runtime.
+ #ifndef __HOSTBOOT_RUNTIME
+ l_errl = PRDF::writeHomerFirData( config_data->firdataConfig,
+ sizeof(config_data->firdataConfig) );
+ #endif
+
#else
config_data->firMaster = 0;
//force to an older version so we can support
OpenPOWER on IntegriCloud