summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorJameson Thies <jthies@google.com>2022-07-07 20:45:40 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-11 19:20:34 +0000
commitdadbc645d10330e5584aa3f569add4c9f7e13a1f (patch)
treefc504aa8007f0264f1b9e3ba7544207700650931 /include/config.h
parent93c2fd7df981f28e4de62de0f347a6706264368c (diff)
downloadchrome-ec-dadbc645d10330e5584aa3f569add4c9f7e13a1f.tar.gz
usb_ppc: Add Config to Remove CPRINTS from ppc_prints
This CL adds a config which can be used to remove the CPRINTS call from ppc_prints and ppc_err_prints which will reduce EC image size. BRANCH=None BUG=b:238348526 TEST=make try_build_boards Signed-off-by: Jameson Thies <jthies@google.com> Change-Id: I5ba2d92c3cd09c4fb1172194ac0c6e33d19044aa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3751769 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 70dc284a8f..0792391d7e 100644
--- a/include/config.h
+++ b/include/config.h
@@ -5071,6 +5071,9 @@
/* PPC has level interrupts and has a dedicated interrupt pin to check */
#undef CONFIG_USBC_PPC_DEDICATED_INT
+/* Enable logging related to the PPC. Undefine to reduce EC image size */
+#define CONFIG_USBC_PPC_LOGGING
+
/* Support for USB type-c superspeed mux */
#undef CONFIG_USBC_SS_MUX