diff options
author | Wei-Han Chen <stimim@google.com> | 2018-10-08 11:21:00 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-15 23:28:42 -0700 |
commit | e89911e940dc94ebf3765e785716d4431a9d646e (patch) | |
tree | 1fa8a6f65865fff46e97d1b4544f99af112a6393 /board/hammer | |
parent | 582dfdbe15bbd9118fc2b53cf423544f16cc2d19 (diff) | |
download | chrome-ec-e89911e940dc94ebf3765e785716d4431a9d646e.tar.gz |
touchpad_st: embed FTB header in unpacked TP FW
To make it easier to decide if full panel initialization is required,
we put the original FTB header in the beginning of unpacked TP FW.
touchpad_update_write will clear CX data if CX version will be
different.
CQ-DEPEND=CL:*697971
BRANCH=nocturne
BUG=b:117203130
TEST=manual on whiskers
Signed-off-by: Wei-Han Chen <stimim@chromium.org>
Change-Id: I60351783b8c015fcb23431811c156bfca8d15b67
Reviewed-on: https://chromium-review.googlesource.com/1267876
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/hammer')
-rw-r--r-- | board/hammer/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hammer/board.h b/board/hammer/board.h index d797e198cd..3f0385daab 100644 --- a/board/hammer/board.h +++ b/board/hammer/board.h @@ -224,7 +224,7 @@ #define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_PRESSURE 255 #define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_X 1030 /* tenth of mm */ #define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_Y 750 /* tenth of mm */ -#define CONFIG_TOUCHPAD_VIRTUAL_SIZE (128*1024) +#define CONFIG_TOUCHPAD_VIRTUAL_SIZE (CONFIG_UPDATE_PDU_SIZE + 128*1024) #else #error "No touchpad information for board." #endif |