mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 10:31:02 +00:00
hammer: Enable touchpad FW update over USB updater
We use address 0x80000000, which is not mapped to anything in STM32F0 address space. BRANCH=none BUG=b:63993173, b:65188846 TEST=./usb_updater2 -p 144.0_2.0.bin CQ-DEPEND=CL:601814 Change-Id: I9a9044d29ebe058d3792dc984cac4051a005cf8f Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/597468 Commit-Ready: Chun-ta Lin <itspeter@chromium.org> Tested-by: Chun-ta Lin <itspeter@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
b5ff2f599e
commit
fe5cebf1d9
@@ -181,6 +181,14 @@
|
||||
#define CONFIG_TOUCHPAD_I2C_PORT 0
|
||||
#define CONFIG_TOUCHPAD_I2C_ADDR (0x15 << 1)
|
||||
|
||||
/* Virtual address for touchpad FW in USB updater. */
|
||||
#define CONFIG_TOUCHPAD_VIRTUAL_OFF 0x80000000
|
||||
/* TODO(itspeter): The CONFIG_TOUCHPAD_VIRTUAL_SIZE depends on IC.
|
||||
* b/65188846 will address this separately. It will only works
|
||||
* for this size as for now.
|
||||
*/
|
||||
#define CONFIG_TOUCHPAD_VIRTUAL_SIZE (48*1024)
|
||||
|
||||
#define CONFIG_CURVE25519
|
||||
|
||||
#define CONFIG_USB_PAIRING
|
||||
|
||||
Reference in New Issue
Block a user