diff options
author | Jett Rink <jettrink@chromium.org> | 2020-04-22 13:33:19 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-23 00:33:23 +0000 |
commit | d7d96bd08c822a99c68dfb72469d0f408c89bb96 (patch) | |
tree | 5728caf01a257a2846da60893b3fc0b1af6b5042 /util | |
parent | 5689fa1c50ffcf625443ba4669904a24f3c4259c (diff) | |
download | chrome-ec-d7d96bd08c822a99c68dfb72469d0f408c89bb96.tar.gz |
flash_ec: reduce C2D2 i2c bus speed from 1Mhz to 400kHz
Based on the resistors on Dedede (and most likely other future
platforms), reduce the i2c bus speed to ensure that our i2c waveform
stays within time spec.
BRANCH=none
BUG=b:153475851
TEST=none
Signed-off-by: Jett Rink <jettrink@chromium.org>
Change-Id: Icc8de0ea0d2af7d75efce696e96b2c0db67c0fee
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2161447
Reviewed-by: Matthew Blecker <matthewb@chromium.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/flash_ec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flash_ec b/util/flash_ec index 6d8c7ba9fa..67800e2c8e 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -1231,9 +1231,9 @@ function flash_it83xx() { # This is done by convention with EC_FLASH_SELECT pin from H1 servo_save_add "ec_flash_select" dut_control_or_die ec_flash_select:on - # Enable i2c bus on C2D2 at 1000kbps + # Enable i2c bus on C2D2 at 400kbps servo_save_add "i2c_ec_bus_speed" - dut_control_or_die i2c_ec_bus_speed:1000 + dut_control_or_die i2c_ec_bus_speed:400 fi # Now the we have enabled the I2C mux on the servo to talk to the dut, |