diff options
Diffstat (limited to 'zephyr/shim/include/config_chip.h')
-rw-r--r-- | zephyr/shim/include/config_chip.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index cc500cd748..544627da5d 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -161,6 +161,11 @@ #define I2C_PORT_VIRTUAL_BATTERY I2C_PORT_BATTERY #endif +#undef CONFIG_I2C_PASSTHRU_RESTRICTED +#ifdef CONFIG_PLATFORM_EC_I2C_PASSTHRU_RESTRICTED +#define CONFIG_I2C_PASSTHRU_RESTRICTED +#endif + #undef CONFIG_BATTERY_PRESENT_CUSTOM #ifdef CONFIG_PLATFORM_EC_BATTERY_PRESENT_CUSTOM #define CONFIG_BATTERY_PRESENT_CUSTOM |