summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2021-09-13 11:06:24 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-13 23:25:32 +0000
commitae3fc9861add88950b9463b29378b0928cd93c3c (patch)
tree334f2c9f6dedab75f5a3aa37608302738991a598 /baseboard
parent03af10358dfe6cdf616618e91fa5f24c36bf93a5 (diff)
downloadchrome-ec-ae3fc9861add88950b9463b29378b0928cd93c3c.tar.gz
kukui: Enable brief asserts to free flash space
Enable CONFIG_DEBUG_ASSERT_BRIEF in RO to free flash space. Brief asserts print only the file name and the line number. BUG=None TEST=Build all BRANCH=None Change-Id: I65334ad2c50e4c70f25af7dbbe03302d7d541bc7 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3157760 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r--baseboard/kukui/baseboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/baseboard/kukui/baseboard.h b/baseboard/kukui/baseboard.h
index c627956102..87ebeb40e1 100644
--- a/baseboard/kukui/baseboard.h
+++ b/baseboard/kukui/baseboard.h
@@ -327,6 +327,7 @@
#define CONFIG_USB_PD_DEBUG_LEVEL 0
#undef CONFIG_USB_PD_LOGGING
#define CONFIG_COMMON_GPIO_SHORTNAMES
+#define CONFIG_DEBUG_ASSERT_BRIEF
/* Exclude PD state names from RO image to save space */
#undef CONFIG_USB_PD_TCPMV1_DEBUG
#endif