summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRong Chang <rongchang@chromium.org>2017-10-13 07:14:55 +0000
committerchrome-bot <chrome-bot@chromium.org>2017-10-13 14:45:22 -0700
commitc1afa30794f644311f136bea70bc5e2d7403257a (patch)
treedc07a96f69e55cc4c359dd4122c39026186bb8f8
parentc36e313a20b59bbe89c598725e401bf4273593a8 (diff)
downloadchrome-ec-c1afa30794f644311f136bea70bc5e2d7403257a.tar.gz
Revert "hana: disable console input when system is locked"
This reverts commit df12bc1c0246ceec39f28151efadb73f8e5fd7a5. Reason for revert: the config flag is deprecated and should not use in any project. Original change's description: > 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> Bug: b:67033247 Change-Id: Ide8a3cc8d1eeee9914922d47ec12c44b7d0e9675 Reviewed-on: https://chromium-review.googlesource.com/718237 Commit-Ready: Rong Chang <rongchang@chromium.org> Tested-by: Rong Chang <rongchang@chromium.org> Reviewed-by: Rong Chang <rongchang@chromium.org>
-rw-r--r--board/elm/board.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/elm/board.h b/board/elm/board.h
index 677bc57d01..4886d010ac 100644
--- a/board/elm/board.h
+++ b/board/elm/board.h
@@ -78,7 +78,6 @@
#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