diff options
Diffstat (limited to 'chip/stm32/i2c_ite_flash_support.c')
-rw-r--r-- | chip/stm32/i2c_ite_flash_support.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chip/stm32/i2c_ite_flash_support.c b/chip/stm32/i2c_ite_flash_support.c index eca3c999af..916a8c364c 100644 --- a/chip/stm32/i2c_ite_flash_support.c +++ b/chip/stm32/i2c_ite_flash_support.c @@ -42,11 +42,11 @@ /* * iteflash requires 256 byte reads for verifying ITE EC firmware. Without this - * the limit is CONFIG_I2C_CHIP_MAX_READ_SIZE which is 255 for STM32F0 due to an - * 8 bit field, per src/platform/ec/include/config.h comment. + * the limit is CONFIG_I2C_CHIP_MAX_TRANSFER_SIZE which is 255 for STM32F0 due + * to an 8 bit field, per src/platform/ec/include/config.h comment. */ -#ifndef CONFIG_I2C_XFER_LARGE_READ -#error Must define CONFIG_I2C_XFER_LARGE_READ +#ifndef CONFIG_I2C_XFER_LARGE_TRANSFER +#error Must define CONFIG_I2C_XFER_LARGE_TRANSFER #endif #define KHz 1000 |