diff options
author | Andres Lugo-Reyes <aalugore@us.ibm.com> | 2017-02-03 12:54:23 -0600 |
---|---|---|
committer | William A. Bryan <wilbryan@us.ibm.com> | 2017-03-02 18:10:30 -0500 |
commit | 8efb50ee01aae3badc7fd717a9449c2c0632f688 (patch) | |
tree | 48d04e24f9566d0c0d955ebf7096bea6da605634 /src/occ_405/main.c | |
parent | 0e1231ddb7cf7fa07ab0521c89de21ea203b5ef7 (diff) | |
download | talos-occ-8efb50ee01aae3badc7fd717a9449c2c0632f688.tar.gz talos-occ-8efb50ee01aae3badc7fd717a9449c2c0632f688.zip |
WOF: Functions to calculate ceff_vdn/vdd ratios for WOF calc
Change-Id: I9a9c90aa2c00414cd85c845d63be3a3d1e31148e
RTC:130216
Depends-on: Icfead61f432707b1d6314152b74f2adb215fd514
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35988
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-x | src/occ_405/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/occ_405/main.c b/src/occ_405/main.c index 0779319..eca4705 100755 --- a/src/occ_405/main.c +++ b/src/occ_405/main.c @@ -702,12 +702,18 @@ void read_pgpe_header(void) g_amec->wof.vfrt_tbls_main_mem_addr = in32(PGPE_WOF_TBLS_ADDR_PTR); g_amec->wof.vfrt_tbls_len = in32(PGPE_WOF_TBLS_LEN_PTR); + MAIN_TRAC_IMP("Read WOF Tables Main Memory Address[0x%08x], Len[0x%08x]," " Active Quads Address[0x%08x]", g_amec->wof.vfrt_tbls_main_mem_addr, g_amec->wof.vfrt_tbls_len, g_amec->wof.active_quads_sram_addr ); + // TODO: RTC 169955 - Read Vratio, Fratio, Vclip, Fclip from shared SRAM + g_amec->wof.v_ratio = 0; + g_amec->wof.f_ratio = 0; + g_amec->wof.v_clip = 0; + g_amec->wof.f_clip = 0; // Extract important WOF data into global space read_wof_header(); |