summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChun-Ta Lin <itspeter@google.com>2017-09-13 20:13:44 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-09-14 22:25:02 -0700
commite18d9dd5300d5e1693ec3d4c72dd105efcff4393 (patch)
treef65e09e28867fe1113b460e870ccadb3575dec38 /Makefile
parent4566523837774988a9862e07dd42c10c0e4284bc (diff)
downloadchrome-ec-e18d9dd5300d5e1693ec3d4c72dd105efcff4393.tar.gz
hammer: Support different IC types in touchpad FW update
Some Elan touchpad ICs have a different firmware sizes (48, 56, or 64 KB). We use CONFIG_TOUCHPAD_VIRTUAL_SIZE, set in the board file, to determine the appropriate size, and, at runtime, we sanity check the firmware size according to the IC type reported by the touchpad. BRANCH=none BUG=b:65188846 TEST=Manually modify the CONFIG_TOUCHPAD_VIRTUAL_SIZE in hammer, executed and verified both (1) "EC_ERROR_UNKNOWN" returned (2) ic_type shows 0x09 on EC console TEST=Successfully flashing 48k firmware using CL:658920 on hammer and 56k firmware on staff. With success here, we specifically test with different firmware version and make sure it reflected in hammerd's touchpad info. Change-Id: Ib30917d8376d4a2e8b6137daabad2341ac48d1f8 Signed-off-by: Chun-Ta Lin <itspeter@google.com> Reviewed-on: https://chromium-review.googlesource.com/664937 Commit-Ready: Chun-ta Lin <itspeter@chromium.org> Tested-by: Chun-ta Lin <itspeter@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions