summaryrefslogtreecommitdiffstats
path: root/src/occ_405/amec/amec_init.c
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2017-05-16 16:18:02 -0500
committerWilliam A. Bryan <wilbryan@us.ibm.com>2017-05-31 16:10:07 -0400
commit2f8acbd71ab64502eba0d67c8b3e0ce9d23be53d (patch)
tree9093042519a29e002a4e68ed6bba7516f6202fd7 /src/occ_405/amec/amec_init.c
parentc48de6ff1191fa3980b4c873758b9d20a425320e (diff)
downloadtalos-occ-2f8acbd71ab64502eba0d67c8b3e0ce9d23be53d.tar.gz
talos-occ-2f8acbd71ab64502eba0d67c8b3e0ce9d23be53d.zip
WOF: Implement wof debug commands
-Command to set/clear bits in wof_disabled -Command to hexdump g_amec->wof -Purge some unused debug commands Change-Id: Ib738f804863e9ab59625fe95569d76a6bcb0ecab Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40655 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/amec/amec_init.c')
-rw-r--r--src/occ_405/amec/amec_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/occ_405/amec/amec_init.c b/src/occ_405/amec/amec_init.c
index ab7862e..9e4f623 100644
--- a/src/occ_405/amec/amec_init.c
+++ b/src/occ_405/amec/amec_init.c
@@ -351,6 +351,10 @@ void amec_init_gamec_struct(void)
// Initialize the current_mem_pwr_ctl to indicate that memory power control is not supported
// update memory control registers only if new ips/default memory power control is different
g_amec->sys.current_mem_pwr_ctl = MEM_PWR_CTL_NO_SUPPORT;
+
+ // Initialize wof_disabled
+ g_amec->wof.wof_disabled = WOF_RC_DRIVER_WOF_DISABLED;
+
}
// Function Specification
OpenPOWER on IntegriCloud