summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2020-11-13 12:56:34 +0800
committerCommit Bot <commit-bot@chromium.org>2020-11-17 18:00:39 +0000
commit8f8d017fb3e5f8d73bb415295495023353049f79 (patch)
tree30468b9673dbf3f9b042a2d120feab14a1dd1688 /docs
parent8ba81426bbc4030e1fa93e13f294fb3526a0d4de (diff)
downloadchrome-ec-8f8d017fb3e5f8d73bb415295495023353049f79.tar.gz
i2c_master: extend i2c_xfer_no_retry to also support large writestabilize-13605.B-master
This CL extends CONFIG_I2C_XFER_LARGE_READ to also support large (greater than 255 bytes) write. Related config name is also updated to reflect the behavior change, BUG=b:169651794 TEST=flash fw successfully on Zed. BRANCH=none Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: Icb889013da01f48708cd0227207561b8186bac63 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537412 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/i2c.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/configuration/i2c.md b/docs/configuration/i2c.md
index f258b3cca3..7a6241e349 100644
--- a/docs/configuration/i2c.md
+++ b/docs/configuration/i2c.md
@@ -14,7 +14,7 @@ The following parameters control the behavior of the I2C library. [config.h]
defines a reasonable default value, but you may need to change the default value
for your board.
-- `CONFIG_I2C_CHIP_MAX_READ_SIZE <bytes>`
+- `CONFIG_I2C_CHIP_MAX_TRANSFER_SIZE <bytes>`
- `CONFIG_I2C_NACK_RETRY_COUNT <count>`
- `CONFIG_I2C_EXTRA_PACKET_SIZE <bytes>` - Only used on STM32 EC's if
`CONFIG_HOSTCMD_I2C_ADDR_FLAGS` is defined.