diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-08-04 15:09:36 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-08-06 04:36:44 +0000 |
commit | 02d313201ffe48dd4157aa30ce36d3f4e08cb383 (patch) | |
tree | 3596176a462a74714e6de9494c5ede27e608a9c5 /board/zinger | |
parent | e1557b0f42a64eb6c973d43a34158888905e33b9 (diff) | |
download | chrome-ec-02d313201ffe48dd4157aa30ce36d3f4e08cb383.tar.gz |
samus_pd: remove dead code around allowing PD negotiation
Remove code for preventing PD negotiation until the battery
is at some minimum SOC. This was originally necessary because
transitioning voltages would cause the source voltage to go
briefly to 0V, which would kill power to the system unless
the battery was at some minimum level of charge. But, that
isn't true anymore. It is safe to transition up or down in
voltage and the source voltage should never drop to 0V.
BUG=chrome-os-partner:29499
BRANCH=none
TEST=make -j buildall. No need to do any more testing because
this code has been disabled for a while.
Change-Id: I8a3dca117f01f0f9c7d04b5d489e4a8588a89be6
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/211021
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/zinger')
-rw-r--r-- | board/zinger/usb_pd_policy.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/board/zinger/usb_pd_policy.c b/board/zinger/usb_pd_policy.c index f12ca9d7af..ff83c72dc0 100644 --- a/board/zinger/usb_pd_policy.c +++ b/board/zinger/usb_pd_policy.c @@ -279,11 +279,6 @@ int pd_board_checks(void) } -int pd_power_negotiation_allowed(void) -{ - return 1; -} - void pd_adc_interrupt(void) { /* cut the power output */ |