diff options
| author | Chris Cain <cjcain@us.ibm.com> | 2017-07-26 17:11:05 -0500 |
|---|---|---|
| committer | Christopher J. Cain <cjcain@us.ibm.com> | 2017-07-28 12:59:51 -0400 |
| commit | b1c803e8f69d56ebdca5445527f01c23bc3e8d2b (patch) | |
| tree | 5a5bc4c39e6aba1338ae0d77bcbb452e3586d140 /src/occ_405/dimm | |
| parent | 856bfc17f3129eb8b011b4299f92d7c5851bda24 (diff) | |
| download | talos-occ-b1c803e8f69d56ebdca5445527f01c23bc3e8d2b.tar.gz talos-occ-b1c803e8f69d56ebdca5445527f01c23bc3e8d2b.zip | |
Change default DIMM I2C lock to false so OCC will request lock when needed
Also cleanup error history enum names
Change-Id: I4276c104e33d29c2f8406609dc088021e9b5a7c8
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43720
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>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Diffstat (limited to 'src/occ_405/dimm')
| -rwxr-xr-x | src/occ_405/dimm/dimm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/occ_405/dimm/dimm.c b/src/occ_405/dimm/dimm.c index 1f2b630..7a026b1 100755 --- a/src/occ_405/dimm/dimm.c +++ b/src/occ_405/dimm/dimm.c @@ -273,11 +273,11 @@ void mark_dimm_failed() if (port == 0) { - INCREMENT_ERR_HISTORY(ERR_DIMM_I2C_PORT0); + INCREMENT_ERR_HISTORY(ERRH_DIMM_I2C_PORT0); } else { - INCREMENT_ERR_HISTORY(ERR_DIMM_I2C_PORT1); + INCREMENT_ERR_HISTORY(ERRH_DIMM_I2C_PORT1); } if (++G_dimm[port][dimm].errorCount > MAX_CONSECUTIVE_DIMM_RESETS) @@ -734,7 +734,7 @@ void task_dimm_sm(struct task *i_self) static uint8_t L_readAttempt = 0; static bool L_readIssued = false; const uint8_t engine = G_sysConfigData.dimm_i2c_engine; - static bool L_occ_owns_lock = true; + static bool L_occ_owns_lock = false; if (G_mem_monitoring_allowed) { |

