diff options
author | Simon Glass <sjg@chromium.org> | 2018-04-26 15:30:02 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-04-27 12:22:48 -0700 |
commit | 487c7a98cf73afdddeef2b63de2fe09320a140f0 (patch) | |
tree | 61a632753508f0252f2cd913a2f8514f195e2f79 | |
parent | 84e486e8e85c16be7acedb08311d1758f078da70 (diff) | |
download | chrome-ec-487c7a98cf73afdddeef2b63de2fe09320a140f0.tar.gz |
grunt: Drop the unnecessary charge-current limit
Our maximum power is 45W so we don't need to keep this limit. Also we can
drop the TODO since we have a bug to track that work.
BUG=b:69683178
BRANCH=none
TEST=emerge-grunt chromeos-ec
Change-Id: Ie40847e3e88653225dc228563c1ac89cc0970316
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031115
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Raul E Rangel <rrangel@chromium.org>
-rw-r--r-- | board/grunt/board.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/board/grunt/board.c b/board/grunt/board.c index 9c26df0e4a..e522751ea1 100644 --- a/board/grunt/board.c +++ b/board/grunt/board.c @@ -458,14 +458,6 @@ int board_set_active_charge_port(int port) void board_set_charge_limit(int port, int supplier, int charge_ma, int max_ma, int charge_mv) { - /* TODO(ecgh): check limits */ - /* - * To protect the charge inductor, at voltages above 18V we should - * set the current limit to 2.7A. - */ - if (charge_mv > 18000) - charge_ma = MIN(2700, charge_ma); - charge_set_input_current_limit(MAX(charge_ma, CONFIG_CHARGER_INPUT_CURRENT), charge_mv); |