diff options
author | Prachi Gupta <pragupta@us.ibm.com> | 2015-01-28 16:26:32 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-02-02 16:45:57 -0600 |
commit | 9a02b48ae586fb4633f369e4ddc406c40643fbbe (patch) | |
tree | 4877b901aa58812452ffa7f7724728e24f261ed9 /src/usr/hwpf/hwp/build_winkle_images | |
parent | 30ef03747d910eac6dd96529bd69725c186b1728 (diff) | |
download | talos-hostboot-9a02b48ae586fb4633f369e4ddc406c40643fbbe.tar.gz talos-hostboot-9a02b48ae586fb4633f369e4ddc406c40643fbbe.zip |
SW292416:FSP-CI BVT failure - Updated to error out on bar size ==0 &&
CQ:SW292416
Change-Id: Ie766c5808d8d54138aa20419485152088dc767ae
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15347
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@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/15361
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/build_winkle_images')
-rw-r--r-- | src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pba_bar_config.C | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pba_bar_config.C b/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pba_bar_config.C index dd74acac9..04943d3eb 100644 --- a/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pba_bar_config.C +++ b/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pba_bar_config.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -22,7 +22,7 @@ /* permissions and limitations under the License. */ /* */ /* IBM_PROLOG_END_TAG */ -// $Id: p8_pba_bar_config.C,v 1.5 2014/11/07 17:53:36 cmolsen Exp $ +// $Id: p8_pba_bar_config.C,v 1.6 2015/01/23 14:57:37 cmolsen Exp $ // $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/p8_pba_bar_config.C,v $ //------------------------------------------------------------------------------ // *! (C) Copyright International Business Machines Corp. 2011 @@ -172,9 +172,9 @@ p8_pba_bar_config (const Target& i_target, return l_rc; } - // Check if the size is 0 but the BAR is not zero. If so, return error. - // The combination of both the size and BAR being zero is legal. - if ( (i_pba_bar_size == 0x0ull) && (i_index != 0) ) + // Check if the BAR size is 0 but the BAR addr is not zero. If so, return error. + // The combination of both the BAR size and addr being zero is legal. + if ( (i_pba_bar_size == 0) && (i_pba_bar_addr != 0) ) { FAPI_ERR("ERROR: Bar size must be >=1MB for PBABAR%d but i_pba_bar_size=0x%08llx", i_index, i_pba_bar_size); |