summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2017-11-06 10:07:15 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-11-07 12:17:43 -0800
commitf4ee6caa665009ca3306f61706074b82e1e2c347 (patch)
treec61dd1cd667f35324443a64c1d540d67e6ee5ed9 /include
parentfca1b7b710898ff347465d839c14164d610f140d (diff)
downloadchrome-ec-f4ee6caa665009ca3306f61706074b82e1e2c347.tar.gz
bd9995x: Use fixed PD-port-to-VBUS/VCC mapping
The bd9995x driver was written to allow any PD port # to be VBUS or VCC, but the mapping is broken in a few places. Since all boards use VBUS = port 0, remove the conversion entirely. BUG=chromium:781849 BRANCH=kevin TEST=Verify PD and BC1.2 charging still works on kevin. Change-Id: I3687866835d1684342d9f746d91b3a6079ab5cc4 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/755000 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/config.h b/include/config.h
index 6d1e7ee9d1..2de39721f6 100644
--- a/include/config.h
+++ b/include/config.h
@@ -477,13 +477,6 @@
#undef CONFIG_CHARGER_BD9995X_CHGEN
/*
- * BD9995X PD port to charger port mapping.
- * By default VBUS is selected as primary port.
- * Define only if the VCC is the primary port.
- */
-#undef CONFIG_BD9995X_PRIMARY_CHARGE_PORT_VCC
-
-/*
* BD9995X Power Save Mode
*
* Which power save mode should the charger enter when VBUS is removed. Check