diff options
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r-- | zephyr/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index 0953a9b1b2..60f44fa8d1 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -669,4 +669,12 @@ config PLATFORM_EC_CCD_USBC_PORT_NUMBER help USB port number of the CCD enabled USBC port. +config PLATFORM_EC_I2C_PASSTHRU_RESTRICTED + bool "Restrict I2C PASSTHRU command" + depends on PLATFORM_EC_I2C + help + Enables board-specific restrictions for the I2C PASSTHRU host command. + Once enabled, board_allow_i2c_passthru function has to be implemented, + which defines the allowed usage of the command. + endif # PLATFORM_EC |