diff options
author | Thi Tran <thi@us.ibm.com> | 2013-10-11 15:16:32 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-10-12 15:28:16 -0500 |
commit | aefee3fd76899e3ef3b69a5cc9d2b02d1bd2dd08 (patch) | |
tree | 60e751168e234d1e807c4817bf24d3e3b7df2dc5 /src/usr/hwpf/hwp/pstates/pstates/pstate_tables.c | |
parent | 4e536844c21b0ab7c256e49c63e8e9520c9e1d19 (diff) | |
download | talos-hostboot-aefee3fd76899e3ef3b69a5cc9d2b02d1bd2dd08.tar.gz talos-hostboot-aefee3fd76899e3ef3b69a5cc9d2b02d1bd2dd08.zip |
INITPROC: Hostboot - SW222724 IPL: Error log cleanup
Change-Id: Id0e2820ed5e17cb8f79e6825dc53a8d767243164
CMVC-Coreq:SW224744
CQ:SW222724
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6657
Tested-by: Jenkins Server
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/pstates/pstates/pstate_tables.c')
-rwxr-xr-x | src/usr/hwpf/hwp/pstates/pstates/pstate_tables.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/hwpf/hwp/pstates/pstates/pstate_tables.c b/src/usr/hwpf/hwp/pstates/pstates/pstate_tables.c index a299e5fb7..422a6a688 100755 --- a/src/usr/hwpf/hwp/pstates/pstates/pstate_tables.c +++ b/src/usr/hwpf/hwp/pstates/pstates/pstate_tables.c @@ -20,7 +20,7 @@ /* Origin: 30 */ /* */ /* IBM_PROLOG_END_TAG */ -// $Id: pstate_tables.c,v 1.10 2013/09/17 16:36:39 jimyac Exp $ +// $Id: pstate_tables.c,v 1.12 2013/10/10 20:37:55 jimyac Exp $ /// \file pstate_tables.c /// \brief This file contains code used to generate Pstate tables from real or @@ -875,7 +875,7 @@ void build_vds_region_table( ivrm_parm_data_t* i_ivrm_parms, PstateSuperStructure* pss) { - int i; + uint8_t i; uint32_t vds; uint64_t beg_offset = 0; uint64_t end_offset = 0; @@ -911,8 +911,8 @@ void fill_vin_table( ivrm_parm_data_t* i_ivrm_parms, PstateSuperStructure* pss) { - int s; - int i; + uint8_t s; + uint8_t i; int idx; // uint8_t pfetstr = 17; @@ -1102,7 +1102,7 @@ void fit_file(int n, uint8_t version, double C[], ivrm_cal_data_t* cal_data) // jwy Vg = (double)cal_data->point[k].gate_voltage/1000; // uV y = ((double)cal_data->point[k].drain_current)/1000; // uA } - else if (version == 1 || version == 2){ + else if (version == 1 || version == 2 || version == 3) { Vd = (double)cal_data->point[k].drain_voltage; // mV Vs = (double)cal_data->point[k].source_voltage; // mV // jwy Vg = (double)cal_data->point[k].gate_voltage/1000; // uV |