summaryrefslogtreecommitdiffstats
path: root/src/occ_405/main.c
diff options
context:
space:
mode:
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