summaryrefslogtreecommitdiffstats
path: root/src/occ_405/main.c
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2017-04-28 10:02:55 -0500
committerWilliam A. Bryan <wilbryan@us.ibm.com>2017-04-28 12:10:16 -0400
commit6bc1827d25df20ea4dbb40129897110b2cc251a8 (patch)
tree53ca0ef3abb12a72f41bb2a576f15c0bc7a8d0eb /src/occ_405/main.c
parentb227f22726bc2c51c65966c461f96b450875edd3 (diff)
downloadtalos-occ-6bc1827d25df20ea4dbb40129897110b2cc251a8.tar.gz
talos-occ-6bc1827d25df20ea4dbb40129897110b2cc251a8.zip
Prevent any WOF code from creating errorlogs
fix WOF_DISABLED_RC Doxygen Change-Id: I9f6e9b14b5fae1ed656713c8e48f5c44e0c83410 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39812 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/main.c')
-rwxr-xr-xsrc/occ_405/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/occ_405/main.c b/src/occ_405/main.c
index 32b8aa3..3169fc8 100755
--- a/src/occ_405/main.c
+++ b/src/occ_405/main.c
@@ -499,6 +499,17 @@ void read_wof_header(void)
uint32_t userdata1 = 0;
uint32_t userdata2 = 0;
+ // Skip reading wof header until WOF is enabled
+ // TODO RTC: 131186 - remove when WOF is up
+ g_amec->wof.wof_disabled |= WOF_RC_DRIVER_WOF_DISABLED;
+
+ if( g_amec->wof.wof_disabled )
+ {
+ MAIN_TRAC_INFO("WOF has not been enabled. Skipping read_wof_header");
+ return;
+ }
+
+
MAIN_TRAC_INFO("read_wof_header() 0x%08X", G_pgpe_header.wof_tables_addr);
// Read active quads address, wof tables address, and wof tables len
OpenPOWER on IntegriCloud