diff options
author | Prachi Gupta <pragupta@us.ibm.com> | 2014-10-09 16:32:16 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-10-23 05:49:24 -0500 |
commit | 3d8b78fa34ab39bda5c519a8b75fa91b7a71b856 (patch) | |
tree | c34c146afc7466cd36d6b58b7730ef49ca50be6c /src/usr/hwpf/hwp/build_winkle_images | |
parent | a9010ccc1130b81e45d1151bb5de9453d31c08a5 (diff) | |
download | talos-hostboot-3d8b78fa34ab39bda5c519a8b75fa91b7a71b856.tar.gz talos-hostboot-3d8b78fa34ab39bda5c519a8b75fa91b7a71b856.zip |
SW281497: INITPROC: FSP&Hostboot - Fix compiler warnings
Change-Id: I7f7eb3f79a5439c63d30489b5c5b6d306605543c
CQ:SW281497
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13848
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com>
Tested-by: PRACHI GUPTA <pragupta@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13917
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/build_winkle_images')
4 files changed, 12 insertions, 12 deletions
diff --git a/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pfet_init.C b/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pfet_init.C index 11f92864c..9ca323e68 100644 --- a/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pfet_init.C +++ b/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pfet_init.C @@ -22,7 +22,7 @@ /* permissions and limitations under the License. */ /* */ /* IBM_PROLOG_END_TAG */ -// $Id: p8_pfet_init.C,v 1.14 2014/02/17 02:56:59 stillgs Exp $ +// $Id: p8_pfet_init.C,v 1.15 2014/08/05 15:17:49 kahnevan Exp $ // $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/p8_pfet_init.C,v $ //------------------------------------------------------------------------------ // *! (C) Copyright International Business Machines Corp. 2011 @@ -459,7 +459,7 @@ pfet_init(const Target& i_target, uint32_t i_mode) break; } - FAPI_DBG("\tNumber of EX chiplets present => %u", l_exChiplets.size()); + FAPI_DBG("\tNumber of EX chiplets present => %zu", l_exChiplets.size()); // Iterate through the returned chiplets for (uint8_t j=0; j < l_exChiplets.size(); j++) diff --git a/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pmc_deconfig_setup.C b/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pmc_deconfig_setup.C index 449407cb5..0b753db89 100755 --- a/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pmc_deconfig_setup.C +++ b/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pmc_deconfig_setup.C @@ -22,7 +22,7 @@ /* permissions and limitations under the License. */ /* */ /* IBM_PROLOG_END_TAG */ -// $Id: p8_pmc_deconfig_setup.C,v 1.10 2013/10/22 03:21:48 stillgs Exp $ +// $Id: p8_pmc_deconfig_setup.C,v 1.11 2014/08/05 15:18:24 kahnevan Exp $ // $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/p8_pmc_deconfig_setup.C,v $ //------------------------------------------------------------------------------ // *! (C) Copyright International Business Machines Corp. 2011 @@ -103,7 +103,7 @@ p8_pmc_deconfig_setup(const Target& i_target) break; } - FAPI_DBG("\tChiplet vector size => %u ", l_exChiplets.size()); + FAPI_DBG("\tChiplet vector size => %zu ", l_exChiplets.size()); // Set the buffer to assume that all chiplets are deconfigured. Validly configured // chiplets will then turn off this deconfiguration. diff --git a/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_poreslw_init.C b/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_poreslw_init.C index 82a76d9f4..47df1b219 100644 --- a/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_poreslw_init.C +++ b/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_poreslw_init.C @@ -22,7 +22,7 @@ /* permissions and limitations under the License. */ /* */ /* IBM_PROLOG_END_TAG */ -// $Id: p8_poreslw_init.C,v 1.26 2014/06/27 17:23:36 stillgs Exp $ +// $Id: p8_poreslw_init.C,v 1.27 2014/08/05 15:17:12 kahnevan Exp $ // $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/p8_poreslw_init.C,v $ //------------------------------------------------------------------------------ // *! (C) Copyright International Business Machines Corp. 2011 @@ -549,7 +549,7 @@ poreslw_ex_setup(const Target& i_target) break; } - FAPI_DBG("\tChiplet vector size => %u ", l_exChiplets.size()); + FAPI_DBG("\tChiplet vector size => %zu ", l_exChiplets.size()); // Iterate through the returned chiplets diff --git a/src/usr/hwpf/hwp/build_winkle_images/proc_mailbox_utils/p8_mailbox_utils.C b/src/usr/hwpf/hwp/build_winkle_images/proc_mailbox_utils/p8_mailbox_utils.C index e8ecd0d49..f5ee1ba8f 100644 --- a/src/usr/hwpf/hwp/build_winkle_images/proc_mailbox_utils/p8_mailbox_utils.C +++ b/src/usr/hwpf/hwp/build_winkle_images/proc_mailbox_utils/p8_mailbox_utils.C @@ -23,7 +23,7 @@ /* */ /* IBM_PROLOG_END_TAG */ // -*- mode: C++; c-file-style: "linux"; -*- -// $Id: p8_mailbox_utils.C,v 1.4 2014/04/01 21:52:25 jmcgill Exp $ +// $Id: p8_mailbox_utils.C,v 1.5 2014/08/05 15:14:03 kahnevan Exp $ // $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/p8_mailbox_utils.C,v $ //------------------------------------------------------------------------------ // *| @@ -384,7 +384,7 @@ fapi::ReturnCode p8_mailbox_utils_get_mbox1( const fapi::Target &i_target, uint3 } FAPI_INF( "ATTR_BOOT_FREQ_MHZ = 0x%08x => %dMHz", l_boot_freq, l_boot_freq); - + uint32_t l_refclk_freq = 0; l_fapirc = FAPI_ATTR_GET( ATTR_FREQ_PROC_REFCLOCK, NULL, l_refclk_freq ); if (l_fapirc ) @@ -422,7 +422,7 @@ fapi::ReturnCode p8_mailbox_utils_get_mbox1( const fapi::Target &i_target, uint3 uint64_t l_result = (((uint64_t)l_dpll_divider)*l_boot_freq)/l_refclk_freq; if( l_result >> BOOT_FREQ_BIT_LENGTH ) { - FAPI_ERR("DPLL multiplier (%lld) won't fit in the bit field (%i bits max)", + FAPI_ERR("DPLL multiplier (%lld) won't fit in the bit field (%i bits max)", l_result, BOOT_FREQ_BIT_LENGTH); uint32_t & BOOT_FREQ = l_boot_freq; uint32_t & REF_FREQ = l_refclk_freq; @@ -455,7 +455,7 @@ fapi::ReturnCode p8_mailbox_utils_get_mbox1( const fapi::Target &i_target, uint3 break; } - FAPI_INF( "Found %d EX cores", + FAPI_INF( "Found %zd EX cores", l_fapiCores.size() ); // Note: Functional chips are marked with a 0 bit; NOT a one bit. @@ -584,7 +584,7 @@ fapi::ReturnCode p8_mailbox_utils_get_mbox2( const fapi::Target &i_target, uint3 //For normal IPLs set initial SBE I2C freq to ref clock - //For MPIPL set initial SBE I2C freq to nest clock + //For MPIPL set initial SBE I2C freq to nest clock if ( !l_isMpIpl ) { o_set_data |= l_pib_i2c_refclock << (sizeof(o_set_data)*8 - @@ -770,7 +770,7 @@ fapi::ReturnCode p8_mailbox_utils_get_mbox4( const fapi::Target &i_target, uint3 FAPI_INF( "ATTR_MNFG_FLAGS => %016llX", l_mnfg_flags); // get chip type - // TODO RTC 102992 + // TODO RTC 102992 fapi::ATTR_NAME_Type l_chip_type; l_fapirc = FAPI_ATTR_GET_PRIVILEGED(ATTR_NAME, &i_target, l_chip_type); if (l_fapirc) |