summaryrefslogtreecommitdiff
path: root/board/chell
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2016-03-22 16:09:35 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-03 10:27:36 -0700
commit33fd731ca10e72664acb20196c2cfb7573e4ae4c (patch)
tree881280f00f4a29ba4807b2ddc0b8928298c406b3 /board/chell
parentbe731e262cc1061ab6f8b5e648ed7bfc792b681a (diff)
downloadchrome-ec-33fd731ca10e72664acb20196c2cfb7573e4ae4c.tar.gz
charge_manager: Report UNKNOWN USB charger for 2 seconds after change
After a charger is attached, we may set a charge limit based upon BC1.2 or USB-C Rp before PD negotiation completes. Therefore, allow 2 seconds for all negotiation to complete. Previously this behavior was implicit when using SW charge ramp. BUG=chrome-os-partner:51280 BRANCH=glados TEST=Manual on chell. Insert stock charger, verify that it is detected as TYPE_UNKNOWN until timeout. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: I52f02de46fa92b66a9fbaddb94a062310688f028 Reviewed-on: https://chromium-review.googlesource.com/334312 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/chell')
-rw-r--r--board/chell/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/chell/board.h b/board/chell/board.h
index 1f735d155e..02eacf5c9e 100644
--- a/board/chell/board.h
+++ b/board/chell/board.h
@@ -136,7 +136,7 @@
#undef CONFIG_CONSOLE_CMDHELP
#undef DEFERRABLE_MAX_COUNT
-#define DEFERRABLE_MAX_COUNT 15
+#define DEFERRABLE_MAX_COUNT 16
#ifndef __ASSEMBLER__