summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/acpi/battery.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/acpi/battery.asl')
-rw-r--r--src/ec/google/chromeec/acpi/battery.asl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index f5047cbfd7..30fe0fce62 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -54,9 +54,12 @@ Method (BSTA, 1, Serialized)
Return (Local0)
}
+#if CONFIG(EC_GOOGLE_CHROMEEC_READ_BATTERY_LONG_STRING)
// Cached flag for BSRF FIFO readout support from EC.
Name(BRSS, 0xff)
-
+#else
+Name(BRSS, 0x0)
+#endif
// Read extended battery strings from the selected battery.
// Arg0 = string index
//