summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com>2022-04-20 11:24:21 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-13 08:17:25 +0000
commit072dd385edce46644d7cf84648505d8e35c0cf42 (patch)
tree0d87c61a05d0b42855a935d0388fab580e73fcc3
parentfd0e4ff15f3762dbcae34023ca57044eaf0087a5 (diff)
downloadchrome-ec-072dd385edce46644d7cf84648505d8e35c0cf42.tar.gz
Damu: Enable CONFIG_SMART_BATTERY_OPTIONAL_MFG_FUNC
Enable CONFIG_SMART_BATTERY_OPTIONAL_MFG_FUNC BUG=b:228360450 BRANCH=kukui TEST=make buildall Run command "ectool i2cread 16 2 0x16 0x3c" Run command "ectool i2cread 16 2 0x16 0x3d" Run command "ectool i2cread 16 2 0x16 0x3e" Run command "ectool i2cread 16 2 0x16 0x3f" Run command "ectool i2cxfer 2 0x0b 2 0x70" Signed-off-by: Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: I1eb489c5202f61094d5b473b57cc0c2496dc6c0e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3595414 Reviewed-by: Eric Yilun Lin <yllin@google.com>
-rw-r--r--board/damu/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/damu/board.h b/board/damu/board.h
index 739d19e9bc..061f526e03 100644
--- a/board/damu/board.h
+++ b/board/damu/board.h
@@ -91,6 +91,9 @@
#define CONFIG_MKBP_EVENT
#define CONFIG_MKBP_USE_GPIO
+/* Virutal battery optional MFG function */
+#define CONFIG_SMART_BATTERY_OPTIONAL_MFG_FUNC
+
#ifndef __ASSEMBLER__
enum adc_channel {