summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-11-04 14:07:42 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-11-05 02:33:12 +0000
commitc47e4ec7d1c28c2fb97640ede5900e6381ea39cc (patch)
tree0e91f50fdd2a44f3461124b6e3ed58cef7e7f1e0
parent53aca69b7be8960d40b71046c5626131633da2fa (diff)
downloadchrome-ec-c47e4ec7d1c28c2fb97640ede5900e6381ea39cc.tar.gz
rambi: Set correct input current limit
Rambi has a 65W adapter, so shouldn't be asking for 4A @ 19V. BUG=chrome-os-partner:23597 BRANCH=none TEST=charger command shows I_in = 3392 mA (which is the closest step below 3.42A that the charger can set). Change-Id: I4b044b594566a6abcb94c3f674a0d287c8fc2b30 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/175611 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r--board/rambi/board.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/rambi/board.h b/board/rambi/board.h
index 1f37f36a8e..8412a5535e 100644
--- a/board/rambi/board.h
+++ b/board/rambi/board.h
@@ -14,8 +14,7 @@
#define CONFIG_BOARD_VERSION
#define CONFIG_CHARGER
#define CONFIG_CHARGER_BQ24715
-/* TODO(crosbug.com/p/23597): Real number for input current limit */
-#define CONFIG_CHARGER_INPUT_CURRENT 4032
+#define CONFIG_CHARGER_INPUT_CURRENT 3420 /* 65 W adapter, 19 V, 3.42 A */
#define CONFIG_CHARGER_SENSE_RESISTOR 10 /* Charge sense resistor, mOhm */
#define CONFIG_CHARGER_SENSE_RESISTOR_AC 10 /* Input senso resistor, mOhm */
#define CONFIG_CHIPSET_BAYTRAIL