summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2022-07-28 22:11:49 +1000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-30 01:01:44 +0000
commit46ce7559d48b418db832f472ab4897ee259faa89 (patch)
treeece5380172e07afb927c9326d322861f09e393fb
parent0cf62838b14e9c95bc22a2c353e17af9e034f00e (diff)
downloadchrome-ec-46ce7559d48b418db832f472ab4897ee259faa89.tar.gz
nissa: Default the initial USB PD debug level to 0
Set the initial default of the USB PD debug level to 0 to reduce the impact of logging on performance. BUG=b:233963296 TEST=zmake build nivviks; flash & run BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: Idfca708390b6b514884a434459a58feb1669678e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3791285 Reviewed-by: Peter Marheine <pmarheine@chromium.org>
-rw-r--r--zephyr/projects/nissa/prj.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/projects/nissa/prj.conf b/zephyr/projects/nissa/prj.conf
index 371e7756d4..11d5fcc95d 100644
--- a/zephyr/projects/nissa/prj.conf
+++ b/zephyr/projects/nissa/prj.conf
@@ -150,3 +150,6 @@ CONFIG_PLATFORM_EC_CHARGER_DISCHARGE_ON_AC_CHARGER=y
# Dynamically select PD voltage to maximize charger efficiency
CONFIG_PLATFORM_EC_USB_PD_DPS=y
+# Reduce logging so that state transitions do not cause protocol issues
+# pd dump [1-3] can be used to increase the debugging level
+CONFIG_PLATFORM_EC_USB_PD_INITIAL_DEBUG_LEVEL=0