summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2013-11-13 07:38:28 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-11-14 19:01:55 +0000
commit003113ee504304addd1f6e3ad8c60edfdf1bf3eb (patch)
tree72f7342b6b4cbf99eaf20f540c5bb38fcc4feb32
parente88d3a0ee8f7f5fbc407ed69aaacd70d0f91f05a (diff)
downloadchrome-ec-003113ee504304addd1f6e3ad8c60edfdf1bf3eb.tar.gz
spring: set lower bound of ILIM to 3 Amps
We are back at the initial setting ... Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=none TEST=none Change-Id: I2af2ea60920d64ba6b855d7da24fc8f5bdaff6da Reviewed-on: https://chromium-review.googlesource.com/176723 Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Simon Arscott <arscott@chromium.org>
-rw-r--r--board/spring/usb_charging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/spring/usb_charging.c b/board/spring/usb_charging.c
index b4d94664ba..499874e8d5 100644
--- a/board/spring/usb_charging.c
+++ b/board/spring/usb_charging.c
@@ -61,7 +61,7 @@
#define I_LIMIT_3000MA 0
/* lower bound for PWM duty cycle : max charger current */
-#define I_LIMIT_MAX MA_TO_PWM(2500)
+#define I_LIMIT_MAX I_LIMIT_3000MA
/* PWM control loop parameters */
#define PWM_CTRL_MAX_DUTY I_LIMIT_100MA /* Minimum current */