diff options
author | Donald Huang <donald.huang@ite.com.tw> | 2016-03-23 17:03:48 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-03-24 00:03:08 -0700 |
commit | cb38156bbced64f0add3ce3478a6cbed0a1a63e7 (patch) | |
tree | 2ba146d67277af63be75cb0174ae8fe7368911eb /util/iteflash.c | |
parent | 229546765968f3c89ce9e8d708379d7dd9b81a39 (diff) | |
download | chrome-ec-cb38156bbced64f0add3ce3478a6cbed0a1a63e7.tar.gz |
it8380dev: util: Enable Host Global Reset
BRANCH=none
BUG=none
TEST=Test OK on ITE8390CX.
You can run "make -j BOARD=it8380dev" to build ec.bin
and flash the ec.bin via
"sudo ./build/it8380dev/util/iteflash -w ./build/it8380dev/ec.bin"
Change-Id: I2077012114bdbd5a8cc8f7dc29e43cdcb77d65b6
Signed-off-by: Donald Huang <donald.huang@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/334176
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'util/iteflash.c')
-rw-r--r-- | util/iteflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/iteflash.c b/util/iteflash.c index 6baab8f662..82d2c9d3fb 100644 --- a/util/iteflash.c +++ b/util/iteflash.c @@ -302,7 +302,7 @@ static int do_watchdog_reset(struct ftdi_context *ftdi) ret |= i2c_write_byte(ftdi, 0x2f, 0x20); ret |= i2c_write_byte(ftdi, 0x2e, 0x06); - ret |= i2c_write_byte(ftdi, 0x30, 0x44); + ret |= i2c_write_byte(ftdi, 0x30, 0x4C); ret |= i2c_write_byte(ftdi, 0x27, 0x80); if (ret < 0) |