summaryrefslogtreecommitdiff
path: root/board/mrbland/board.h
diff options
context:
space:
mode:
authorSiyu Qin <qinsiyu@huaqin.corp-partner.google.com>2021-08-31 10:16:35 +0800
committerCommit Bot <commit-bot@chromium.org>2021-09-13 23:37:16 +0000
commitf1b5e1d2e5ddf3d8e04e6759f9b9a1f58b801a34 (patch)
tree5e0265319418478def60198e2e9a153d60345b94 /board/mrbland/board.h
parentedfeb40385988c6522521c1044a18be2beef393a (diff)
downloadchrome-ec-f1b5e1d2e5ddf3d8e04e6759f9b9a1f58b801a34.tar.gz
mrbland: Modify the battery information
Update the battery information for mrbland. BUG=b:197836965 BRANCH=trogdor TEST=make -j BOARD=mrbland Change-Id: I7fd3d69681152627e8bc1208b80430b91213436e Signed-off-by: Siyu Qin <qinsiyu@huaqin.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3132161 Reviewed-by: wen zhang <zhangwen6@huaqin.corp-partner.google.com> Reviewed-by: Bob Moragues <moragues@chromium.org> Reviewed-by: Sam Hurst <shurst@google.com> Commit-Queue: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'board/mrbland/board.h')
-rw-r--r--board/mrbland/board.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/board/mrbland/board.h b/board/mrbland/board.h
index 77d8734850..f4cb398c50 100644
--- a/board/mrbland/board.h
+++ b/board/mrbland/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
@@ -101,12 +104,9 @@ enum pwm_channel {
/* List of possible batteries */
enum battery_type {
- BATTERY_GH02047XL_1C,
- BATTERY_GH02047XL,
- BATTERY_DS02032XL,
- BATTERY_DS02032XL_1C,
- BATTERY_L21D4PG0,
- BATTERY_L21M4PG0,
+ BATTERY_L21C2PG1,
+ BATTERY_L21D2PG1,
+ BATTERY_L21M2PG1,
BATTERY_TYPE_COUNT,
};