summaryrefslogtreecommitdiffstats
path: root/src/occ_405/main.c
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2017-07-21 17:56:02 -0500
committerMartha Broyles <mbroyles@us.ibm.com>2017-07-26 13:50:23 -0400
commit579fd543e9d698dc3932e8f72b166233f8baa773 (patch)
tree7f577ea3112983922da35ae1ac9494e02e4a288b /src/occ_405/main.c
parenta84955963839b3a035dd339d3ba13e0acb88547a (diff)
downloadtalos-occ-579fd543e9d698dc3932e8f72b166233f8baa773.tar.gz
talos-occ-579fd543e9d698dc3932e8f72b166233f8baa773.zip
WOF: Check OPPB to see if wof is enabled
-If OPPB determines wof is disabled, suppress all wof related error logs Change-Id: Ib353256512dc313716ab732bacf4d16b7eaf55ca CQ:SW396068 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43571 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Diffstat (limited to 'src/occ_405/main.c')
-rwxr-xr-xsrc/occ_405/main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/occ_405/main.c b/src/occ_405/main.c
index 307db17..f7784e6 100755
--- a/src/occ_405/main.c
+++ b/src/occ_405/main.c
@@ -1052,6 +1052,19 @@ bool read_oppb_params()
break;
}
+ // Confirm whether we have wof support
+ if(!(G_oppb.wof.wof_enabled))
+ {
+ MAIN_TRAC_INFO("OPPB has WOF disabled.(%d)",
+ G_oppb.wof.wof_enabled);
+ set_clear_wof_disabled( SET, WOF_RC_OPPB_WOF_DISABLED );
+ }
+ else
+ {
+ MAIN_TRAC_INFO("OPPB has WOF enabled(%d)",
+ G_oppb.wof.wof_enabled);
+ }
+
} while (0);
if (l_reasonCode)
OpenPOWER on IntegriCloud