summaryrefslogtreecommitdiff
path: root/zephyr/shim
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 /zephyr/shim
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 'zephyr/shim')
-rw-r--r--zephyr/shim/include/config_chip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h
index 102238be83..a47063f712 100644
--- a/zephyr/shim/include/config_chip.h
+++ b/zephyr/shim/include/config_chip.h
@@ -962,6 +962,11 @@ extern struct jump_data mock_jump_data;
#define CONFIG_CMD_PPC_DUMP
#endif
+#undef CONFIG_USBC_PPC_LOGGING
+#ifdef CONFIG_PLATFORM_EC_USBC_PPC_LOGGING
+#define CONFIG_USBC_PPC_LOGGING
+#endif
+
#undef CONFIG_CMD_TCPC_DUMP
#ifdef CONFIG_PLATFORM_EC_CONSOLE_CMD_TCPC_DUMP
#define CONFIG_CMD_TCPC_DUMP