summaryrefslogtreecommitdiffstats
path: root/src/occ_405/main.c
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2017-02-22 14:59:49 -0600
committerWilliam A. Bryan <wilbryan@us.ibm.com>2017-04-27 13:17:35 -0400
commitf19200513b5c918bf9405616811280c4c8ae2c09 (patch)
treeb7fab9dbb21902b753992b5d7ac73d8578760760 /src/occ_405/main.c
parenta478ce1ca63fbd3acc75a965fdcb199e86c51afe (diff)
downloadtalos-occ-f19200513b5c918bf9405616811280c4c8ae2c09.tar.gz
talos-occ-f19200513b5c918bf9405616811280c4c8ae2c09.zip
WOF: PGPE WOF Control infrastructure
Change-Id: I8dd1205c2c05c183650c1c42a3649fefc8048815 RTC:166301 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37251 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/main.c')
-rwxr-xr-xsrc/occ_405/main.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/occ_405/main.c b/src/occ_405/main.c
index f969992..88fe99b 100755
--- a/src/occ_405/main.c
+++ b/src/occ_405/main.c
@@ -498,7 +498,7 @@ void read_wof_header(void)
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
- g_amec->wof.active_quads_sram_addr = G_pgpe_header.requested_active_quad_sram_addr;
+ g_amec->wof.req_active_quads_addr = G_pgpe_header.requested_active_quad_sram_addr;
g_amec->wof.vfrt_tbls_main_mem_addr = G_pgpe_header.wof_tables_addr;
g_amec->wof.vfrt_tbls_len = G_pgpe_header.wof_tables_length;
@@ -508,6 +508,13 @@ void read_wof_header(void)
g_amec->wof.v_clip = 0;
g_amec->wof.f_clip = 0;
+
+ // Read in quad state info here once
+ g_amec->wof.quad_state_0_addr = G_pgpe_header.shared_sram_addr +
+ sizeof(uint64_t); //skip pgpe beacon
+ g_amec->wof.quad_state_1_addr = g_amec->wof.quad_state_0_addr +
+ sizeof(uint64_t); //skip quad state 0
+
if (G_pgpe_header.wof_tables_addr != 0)
{
do
OpenPOWER on IntegriCloud