diff options
author | Siyu Qin <qinsiyu@huaqin.corp-partner.google.com> | 2021-09-14 09:26:23 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-15 01:53:43 +0000 |
commit | 321bca1ad953b7a448b5578fe98101f03fa6a697 (patch) | |
tree | 45a7a1ed9c51de0975a5cb5759114dbdac086ea2 | |
parent | 10f51ed547f44685364578348de6ce3207979e67 (diff) | |
download | chrome-ec-321bca1ad953b7a448b5578fe98101f03fa6a697.tar.gz |
wormdingler: Increase the length of Battery Model string
The battery in Wormdingler have 8 characters mode name,
but the default code limit battery string to 7-character plug NULL.
So the length of Battery Model string should be increased.
BUG=b:198994207
BRANCH=trogdor
TEST=make -j BOARD=wormdingler
Signed-off-by: Siyu Qin <qinsiyu@huaqin.corp-partner.google.com>
Change-Id: I961870fde4eba7b4c1c679b3209d33a7ead8fdb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3159423
Reviewed-by: Bob Moragues <moragues@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Bob Moragues <moragues@chromium.org>
-rw-r--r-- | board/wormdingler/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/wormdingler/board.h b/board/wormdingler/board.h index aaa05a9b62..538c59a0c1 100644 --- a/board/wormdingler/board.h +++ b/board/wormdingler/board.h @@ -31,6 +31,9 @@ #define CONFIG_BATTERY_REVIVE_DISCONNECT #define CONFIG_BATTERY_FUEL_GAUGE #define CONFIG_BATTERY_VENDOR_PARAM +#define CONFIG_BATTERY_V2 +#define CONFIG_BATTERY_COUNT 1 +#define CONFIG_HOSTCMD_BATTERY_V2 /* Enable PD3.0 */ #define CONFIG_USB_PD_REV30 |