summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/Kconfig')
-rw-r--r--src/ec/google/chromeec/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/Kconfig b/src/ec/google/chromeec/Kconfig
index 7a8777fbdb..f0418ff16e 100644
--- a/src/ec/google/chromeec/Kconfig
+++ b/src/ec/google/chromeec/Kconfig
@@ -152,6 +152,21 @@ config EC_GOOGLE_CHROMEEC_AUTO_FAN_CTRL
help
Put the fan in auto mode at boot.
+config EC_GOOGLE_CHROMEEC_READ_BATTERY_LONG_STRING
+ depends on TPM_GOOGLE
+ bool
+ default y
+ help
+ The Chrome EC currently supports two ways to read battery strings on
+ ACPI platforms:
+
+ * Read up to 8 bytes from EC shared memory BMFG, BMOD, ...
+ * Send a EC_CMD_BATTERY_GET_STATIC host command and read longer strings as a response.
+
+ Select this config to support readout of longer battery strings.
+
+ If unsure, say N.
+
endif # EC_GOOGLE_CHROMEEC
source "src/ec/google/chromeec/*/Kconfig"