summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.battery
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.battery')
-rw-r--r--zephyr/Kconfig.battery10
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/Kconfig.battery b/zephyr/Kconfig.battery
index d069faf57e..7b3f20da38 100644
--- a/zephyr/Kconfig.battery
+++ b/zephyr/Kconfig.battery
@@ -247,4 +247,14 @@ config PLATFORM_EC_BATTERY_TYPE_NO_AUTO_DETECT
must call battery_set_fixed_battery_type() to set the fixed battery
type, during board initialization.
+if PLATFORM_EC_I2C_VIRTUAL_BATTERY
+
+config PLATFORM_EC_SMART_BATTERY_OPTIONAL_MFG_FUNC
+ bool "Support smart battery optional MFG function"
+ help
+ Enable this option when need support smart battery optional commands.
+ Only make sense when PLATFORM_EC_I2C_VIRTUAL_BATTERY.
+
+endif # PLATFORM_EC_I2C_VIRTUAL_BATTERY
+
endif # PLATFORM_EC_BATTERY