lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 22 May 2016 17:35:42 +0800 From: "jeffrey.lin" <yajohn@...il.com> To: dmitry.torokhov@...il.com, rydberg@...omail.se, grant.likely@...aro.org, robh+dt@...nel.org, jeesw@...fas.com, bleung@...omium.org Cc: jeffrey.lin@...-ic.com, roger.yang@...-ic.com, KP.li@...-ic.com, albert.shieh@...-ic.com, linux-kernel@...r.kernel.org, linux-input@...r.kernel.org, devicetree@...r.kernel.org Subject: Re: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver Hi Dmitry: >> if (len < RM_BL_WRT_PKG_SIZE) { >> buf[BL_PKG_IDX] = 4; >Why 4??? 4 is trigger index for write flash. Our page write size is 128 bytes, but in order to meet maximum I2C bus read/write byte limite and need fill full all pages of 128 bytes. So that I split 128 bytes to "4" section, and start burning flash if touch MCU get index "4".
Powered by blists - more mailing lists