From 2f8acbd71ab64502eba0d67c8b3e0ce9d23be53d Mon Sep 17 00:00:00 2001 From: Andres Lugo-Reyes Date: Tue, 16 May 2017 16:18:02 -0500 Subject: 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 Reviewed-by: Martha Broyles Reviewed-by: William A. Bryan --- src/occ_405/amec/amec_init.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/occ_405/amec') 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 -- cgit v1.2.1