From cb38156bbced64f0add3ce3478a6cbed0a1a63e7 Mon Sep 17 00:00:00 2001 From: Donald Huang Date: Wed, 23 Mar 2016 17:03:48 +0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/334176 Reviewed-by: Randall Spangler --- util/iteflash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)