summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacky <jacky5_wang@pegatron.corp-partner.google.com>2022-05-13 17:43:15 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-16 04:56:48 +0000
commitc69a6af83883b4fb1da9bd3e3784db9425661912 (patch)
tree5b4647d6acb29eaea3cc272e79253c0423ce2c34
parent97da657e666ec812d12be74dffb27b7985d66061 (diff)
downloadchrome-ec-c69a6af83883b4fb1da9bd3e3784db9425661912.tar.gz
hayato: Enable CONFIG_SMART_BATTERY_OPTIONAL_MFG_FUNC
Enable CONFIG_SMART_BATTERY_OPTIONAL_MFG_FUNC BUG=b:232494783 BRANCH=asurada TEST=make BOARD=hayato Run command "ectool i2cread 16 0 0x16 0x3c" Run command "ectool i2cread 16 0 0x16 0x3d" Run command "ectool i2cread 16 0 0x16 0x3e" Run command "ectool i2cread 16 0 0x16 0x3f" Run command "ectool i2cxfer 0 0x0b 2 0x70" Signed-off-by: Jacky <jacky5_wang@pegatron.corp-partner.google.com> Change-Id: I5b31d9ba1d1cee10b2db8751ca9e520991931b6f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3646984 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--board/asurada/board.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/asurada/board.h b/board/asurada/board.h
index f4de0af739..046d17243d 100644
--- a/board/asurada/board.h
+++ b/board/asurada/board.h
@@ -94,6 +94,11 @@
/* USB-A */
#define USBA_PORT_COUNT 1
+#ifdef BOARD_HAYATO
+/* Virutal battery optional MFG function */
+#define CONFIG_SMART_BATTERY_OPTIONAL_MFG_FUNC
+#endif
+
#ifndef __ASSEMBLER__
#include "gpio_signal.h"