diff options
author | Mike Baiocchi <baiocchi@us.ibm.com> | 2013-11-20 17:33:33 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-12-06 09:59:19 -0600 |
commit | b5f1f67b26d2bac69bc2a40d474f7dcd32c87bd5 (patch) | |
tree | 58fd7f6f06d0c209ddf29c16321f447587b21def /src/usr/i2c/i2c.C | |
parent | b08aefccb4c38f637abe85ace643404ea805f72f (diff) | |
download | blackbird-hostboot-b5f1f67b26d2bac69bc2a40d474f7dcd32c87bd5.tar.gz blackbird-hostboot-b5f1f67b26d2bac69bc2a40d474f7dcd32c87bd5.zip |
Fix I2C BEAM Errors
A change was made to ignore the BEAM error signaling a loop is
only run once. It is be design that this loop is run once.
Change-Id: I99c7661cc9b2537603cdb4534b7e7ae78deb895c
RTC: 84067
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7361
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/i2c/i2c.C')
-rwxr-xr-x | src/usr/i2c/i2c.C | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C index 19403c9b4..5dbbf892f 100755 --- a/src/usr/i2c/i2c.C +++ b/src/usr/i2c/i2c.C @@ -1355,7 +1355,9 @@ errlHndl_t i2cSetupMasters ( void ) continue; } - for( uint32_t engine = 0; engine < CENTAUR_MASTER_ENGINES; engine++ ) + for( uint32_t engine = 0; /*loop doesn't iterate*/ + engine < CENTAUR_MASTER_ENGINES; + engine++ ) { // Write Mode Register: mode.value = 0x0ull; |