summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2017-12-05 13:10:43 -0600
committerAndres A. Lugo-Reyes <aalugore@us.ibm.com>2017-12-05 15:02:07 -0500
commit5bca1deebf80876bdce5511492e3eabd6960de03 (patch)
tree354b413431d10e9d4aafc0d5c862001ce33d67f6
parent06ef7787e76281b40fb961048bc79b22610241a0 (diff)
downloadtalos-occ-5bca1deebf80876bdce5511492e3eabd6960de03.tar.gz
talos-occ-5bca1deebf80876bdce5511492e3eabd6960de03.zip
Initialize ping/pong buffer address variable
Change-Id: Iaca119d354e26bdb3411a1fe05f0e888539deb2c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50518 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> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
-rw-r--r--src/occ_405/wof/wof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/occ_405/wof/wof.c b/src/occ_405/wof/wof.c
index 09ad7b0..9e5e990 100644
--- a/src/occ_405/wof/wof.c
+++ b/src/occ_405/wof/wof.c
@@ -498,7 +498,7 @@ void copy_vfrt_to_sram( void )
*/
// Static variable to trac which buffer is open for use
// 0 = PING; 1 = PONG;
- uint8_t * l_buffer_address;
+ uint8_t * l_buffer_address = G_sram_vfrt_ping_buffer;
if(g_wof->curr_ping_pong_buf == (uint32_t)G_sram_vfrt_ping_buffer)
{
// Switch to pong buffer
OpenPOWER on IntegriCloud