summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgc <chao.ge@bitland.com.cn>2017-09-30 18:12:14 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-10-11 00:57:40 -0700
commitdf12bc1c0246ceec39f28151efadb73f8e5fd7a5 (patch)
tree8ece97dd9c1f7176e32d4207316995572b9a89be
parenta08f61506cc71b690858e51da905c7dcb2d7ef10 (diff)
downloadchrome-ec-df12bc1c0246ceec39f28151efadb73f8e5fd7a5.tar.gz
hana: disable console input when system is locked
Shipped devices were found that batteries could enter ship mode unexpectedly. Fail rate is about 5/700pcs per day. Failure happens when battery is charged fully and eneters sleep(mem), and then AC is plugged out. Battery ship mode is entered because ec execute console command "cutoff". Still do not know what causes that when no any device connected to servo board connector (console TX and RX are floated). Enable this config item will cut off route from RX input and fix the issue. BUG=b:67033247 BRANCH=none TEST=with 50 DUTs, flash ec to DUTs and then lock the system, charge the battery from about 80% capacity to 100% capacity, close the lid for 20 minutes, unplug AC, boot the system, all DUTs boot, no DUT's battery enter ship mode. The same test repeats 3 times. Change-Id: I9939fed1467026bc2d85c645b6ecebae4b6796c6 Signed-off-by: Chao Ge <chao.ge@bitland.com.cn> Reviewed-on: https://chromium-review.googlesource.com/693921 Commit-Ready: ge chao <chao.ge@bitland.com.cn> Tested-by: ge chao <chao.ge@bitland.com.cn> Reviewed-by: Rong Chang <rongchang@chromium.org>
-rw-r--r--board/elm/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/elm/board.h b/board/elm/board.h
index 4886d010ac..677bc57d01 100644
--- a/board/elm/board.h
+++ b/board/elm/board.h
@@ -78,6 +78,7 @@
#define CONFIG_BOARD_VERSION
#undef CONFIG_UART_CONSOLE
#define CONFIG_UART_CONSOLE 1
+#define CONFIG_CONSOLE_RESTRICTED_INPUT
#define CONFIG_TEMP_SENSOR
#define CONFIG_DPTF