summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorVic Yang <victoryang@google.com>2015-01-22 14:01:13 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-24 01:45:52 +0000
commitcf77f90f2caf562fd6b9270c1debc2df5f118c3a (patch)
tree59d1fd1bf4d8b94584cf1b8677010b3e0a373544 /Makefile.rules
parent48eed0bebc403ebdccae7810fccc7a467da4125b (diff)
downloadchrome-ec-cf77f90f2caf562fd6b9270c1debc2df5f118c3a.tar.gz
pd: Honor both max power and current for all power source
Currently, we only use PD_MAX_POWER_MW for battery power source and PD_MAX_CURRENT_MA for other sources. This change makes it so that both limits are honored no matter what the power source is. BRANCH=Ryu BUG=None TEST=Set current limit to 1A on Ryu and charge from Zinger. Make sure only 1A is pulled. Change-Id: If9b2451f1351c6548b831d36c8162b2f86f42492 Signed-off-by: Vic Yang <victoryang@google.com> Reviewed-on: https://chromium-review.googlesource.com/242629 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vic Yang <victoryang@chromium.org> Tested-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'Makefile.rules')
0 files changed, 0 insertions, 0 deletions