summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorDonald Huang <donald.huang@ite.com.tw>2019-07-24 11:25:00 +0800
committerCommit Bot <commit-bot@chromium.org>2019-07-25 07:01:24 +0000
commit7e0885d97099d8c3e51913103d442fec6a31fb4c (patch)
tree8b011498be75dffe854f787fc011473d5df104b7 /third_party
parenta4bc620109faba857e7e40fae76696b6374f87e7 (diff)
downloadchrome-ec-7e0885d97099d8c3e51913103d442fec6a31fb4c.tar.gz
it83xx(iteflash): Support Flash for it8xxx1 or it8xxx2
Support 3 Byte Chip ID. Support 3 Byte DBGR Address. Change the flash size determination method. BUG=none BRANCH=none TEST=Check it ok on both it8320 and it8xxx2 series. There are several new chip from ITE. The Chip ID : 81201 81202 83201 83202 We temporarily defined it as it8xxx1 and it8xxx2 series. The new chip id is from 2 bytes to 3 bytes. We verify it ok from Servo V2 + ITE evboard. (cr) (asus-serve-v4) donald@donald-Aspire-4752 ~/trunk/src/platform/ec $ sudo ~/trunk/src/platform/ec/util/flash_ec --board=it83xx_evb INFO: Using servo_v2. INFO: Using ec image : /mnt/host/source/src/platform/ec/build/it83xx_evb/ec.bin INFO: Flashing chip it83xx. INFO: Closing servod connection to ftdi_i2c interface INFO: Programming EC firmware image using iteflash... CHIPID 81201, CHIPVER 40, Flash size 256 kB Done with sending special waveform. Disabling watchdog... Disabling protect path... Erasing flash...erase size=262144 \100% Erasing Done. Writing 262144 bytes at 0x00000000....... \100% Writing Done. Verify 262144 bytes at 0x00000000 \ 99% Verify Done. INFO: Flashing done. INFO: Reinitializing ftdi_i2c interface Change-Id: If17f85cb5d67d262a85d5cdeb89044646c39a0e1 Signed-off-by: Donald Huang <donald.huang@ite.com.tw> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1655213 Reviewed-by: Namyoon Woo <namyoon@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Donald Huang <cguwinds@gmail.com> Tested-by: Donald Huang <cguwinds@gmail.com>
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions