summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDawid Niedzwiecki <dn@semihalf.com>2022-03-29 14:54:11 +0200
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-01 15:31:06 +0000
commitf25f27f47570a18103bcd9ce1591d33946203150 (patch)
tree1a14b6af612f62e75e84004a05a04e2ccbfd0287 /util
parenta2f5947755b20e0d26b3cf986448aba59f9be008 (diff)
downloadchrome-ec-f25f27f47570a18103bcd9ce1591d33946203150.tar.gz
zephyr: remove PLATFORM_EC_USB_PD_PORT_MAX_COUNT config
The PLATFORM_EC_USB_PD_PORT_MAX_COUNT config can be get based on dts. PLATFORM_EC_USB_PD_PORT_MAX_COUNT equals a number of instances with "named-usbc-port" compatible. BUG=b:176237074 TEST=zmake testall && make buildall BRANCH=main Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: If66ef429f4b9070e95b9631247423392c811f916 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3539940 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/config_allowed.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/config_allowed.txt b/util/config_allowed.txt
index be8ff99b92..e00ce907fd 100644
--- a/util/config_allowed.txt
+++ b/util/config_allowed.txt
@@ -1022,6 +1022,7 @@ CONFIG_USB_PD_MAX_TOTAL_SOURCE_CURRENT
CONFIG_USB_PD_MODEL_PART_NUMBER
CONFIG_USB_PD_PCIE_TUNNELING
CONFIG_USB_PD_PORT_LABEL
+CONFIG_USB_PD_PORT_MAX_COUNT
CONFIG_USB_PD_PREFER_MV
CONFIG_USB_PD_PRODUCT_REVISION
CONFIG_USB_PD_RESET_MIN_BATT_SOC