diff options
author | Dawid Niedzwiecki <dn@semihalf.com> | 2022-04-05 10:10:58 +0200 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-07 12:17:37 +0000 |
commit | e40694df1dfa05596482573483bd4be45954d1cb (patch) | |
tree | 435331be119b0a765c561277cc12a0e8e13474c1 /zephyr/projects/trogdor/lazor/prj.conf | |
parent | 73a75859bbabd37d5e16ec7421b6d6952e308756 (diff) | |
download | chrome-ec-e40694df1dfa05596482573483bd4be45954d1cb.tar.gz |
zephyr: eliminate PLATFORM_EC_USB_A_PORT_COUNT config
The USB-A port count can be get from cros-ec,usba-port-enable-pins node,
namely from a number of defined "enable-pins" pins.
Remove the PLATFORM_EC_USB_A_PORT_COUNT config and define USB_PORT_COUNT
based on DTS.
This shouldn't affect the output binary, it just simplifies the
configuration process.
BUG=b:227472576
TEST=zmake testall
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: I887993af7b4dae300708099f35cfe58181e14162
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3569772
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Dawid Niedzwiecki <dawidn@google.com>
Diffstat (limited to 'zephyr/projects/trogdor/lazor/prj.conf')
-rw-r--r-- | zephyr/projects/trogdor/lazor/prj.conf | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zephyr/projects/trogdor/lazor/prj.conf b/zephyr/projects/trogdor/lazor/prj.conf index 288c7960df..15fe14e08c 100644 --- a/zephyr/projects/trogdor/lazor/prj.conf +++ b/zephyr/projects/trogdor/lazor/prj.conf @@ -94,7 +94,6 @@ CONFIG_PLATFORM_EC_CONSOLE_CMD_CHARGER_ADC_AMON_BMON=y # USB-A CONFIG_PLATFORM_EC_USBA=y -CONFIG_PLATFORM_EC_USB_A_PORT_COUNT=1 CONFIG_PLATFORM_EC_USB_PORT_POWER_DUMB=y # USB-C |