summaryrefslogtreecommitdiff
path: root/util/sconfig/sconfig.tab.h_shipped
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-09-13 21:01:30 +0530
committerSubrata Banik <subratabanik@google.com>2024-09-14 18:13:18 +0000
commit3d5412f8d4ad2cd3c873a46d8f6fb6a20c5f9ad6 (patch)
tree3097fafeeb5622f737a99834d76abddc0c4dc8d0 /util/sconfig/sconfig.tab.h_shipped
parent8560c7197a24c7fa7802840b3dd7da0bfa16f34c (diff)
ec/google/chromeec: Add option to control reading long battery strings
Older ChromeOS devices (pre-CR50) do not support reading long battery strings. This commit adds a Kconfig option, EC_GOOGLE_CHROMEEC_READ_BATTERY_LONG_STRING, to enable or disable this feature. This allows devices with TPM_GOOGLE (CR50/TI50) to read and display long battery strings, while older devices like google/link, wolf, samus, and chell will continue to display only the first 8 characters. This change ensures compatibility with older devices while enabling the display of complete battery information on newer platforms. BUG=b:366338622 TEST=Verified on google/tivviks_ufs: * Long battery string is displayed when EC_GOOGLE_CHROMEEC_READ_BATTERY_LONG_STRING is enabled. * Short battery string is displayed when EC_GOOGLE_CHROMEEC_READ_BATTERY_LONG_STRING=n. Change-Id: I7859809278b7e926bbe8beb1a0a9e12c7e6c220d Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84352 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Caveh Jalali <caveh@chromium.org>
Diffstat (limited to 'util/sconfig/sconfig.tab.h_shipped')
0 files changed, 0 insertions, 0 deletions