From 8f8d017fb3e5f8d73bb415295495023353049f79 Mon Sep 17 00:00:00 2001 From: Ting Shen Date: Fri, 13 Nov 2020 12:56:34 +0800 Subject: i2c_master: extend i2c_xfer_no_retry to also support large write 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 Change-Id: Icb889013da01f48708cd0227207561b8186bac63 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537412 Reviewed-by: Nicolas Boichat Commit-Queue: Ting Shen Tested-by: Ting Shen --- docs/configuration/i2c.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/configuration') 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 ` +- `CONFIG_I2C_CHIP_MAX_TRANSFER_SIZE ` - `CONFIG_I2C_NACK_RETRY_COUNT ` - `CONFIG_I2C_EXTRA_PACKET_SIZE ` - Only used on STM32 EC's if `CONFIG_HOSTCMD_I2C_ADDR_FLAGS` is defined. -- cgit v1.2.1