diff options
author | Mason Wang <masonwang@google.com> | 2022-05-06 08:18:13 +0800 |
---|---|---|
committer | Mason Wang <masonwang@google.com> | 2022-05-06 17:35:30 +0800 |
commit | 03aa8825f68d52c285b8ee6a6a239b7372a39fc4 (patch) | |
tree | 5747070325854b6bd73a3ee9fd6ce13f203a82e4 | |
parent | 8b837e15a2a2e139b1d3ba85c32fa8b79ce512ce (diff) | |
download | focaltech_touch-03aa8825f68d52c285b8ee6a6a239b7372a39fc4.tar.gz |
touch/focaltech: Reduce touch firmware flashing time.
Increase the flash packet length (FTS_FLASH_PACKET_LENGTH) from 32 to 128.
Bug: 199105246
Test: Reduce the flashing time from 15s to 10s.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I9e6e3abced6d9a52735240a3d944a04b0d1c3195
-rw-r--r-- | ft3658/focaltech_flash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ft3658/focaltech_flash.h b/ft3658/focaltech_flash.h index d0ffb92..5a370c5 100644 --- a/ft3658/focaltech_flash.h +++ b/ft3658/focaltech_flash.h @@ -72,7 +72,7 @@ #define FTS_DELAY_UPGRADE_RESET 80 #define PRAMBOOT_MIN_SIZE 0x120 #define PRAMBOOT_MAX_SIZE (64*1024) -#define FTS_FLASH_PACKET_LENGTH 32 /* max=128 */ +#define FTS_FLASH_PACKET_LENGTH 128 /* max=128 */ #define FTS_MAX_LEN_ECC_CALC 0xFFFE /* must be even */ #define FTS_MIN_LEN 0x120 #define FTS_MAX_LEN_FILE (256 * 1024) |