mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 02:04:55 +00:00
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user