summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2017-12-20 10:12:06 +0100
committerchrome-bot <chrome-bot@chromium.org>2017-12-25 17:17:25 -0800
commit5e93965e944370748a9d114e6de44c8bfe09047e (patch)
tree22ec5ba6af2317a2c1936e1c81860399cb2e3fb8 /include/config.h
parent809244140d31a24041344eefe8c82bb47240e9f0 (diff)
downloadchrome-ec-5e93965e944370748a9d114e6de44c8bfe09047e.tar.gz
printf: add %li format for compatibility
For compatibility/convenience, implement the '%li' printf format as a *32-bit* integer format, as it might be expected by non-EC code. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=b:70320279 TEST=run on Eve EVT with unspecified external binary and see its traces are correctly printed. Change-Id: Iac20e823c74aac4f659176416eebd804c321d47c
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 19b342acc3..3138d30b4b 100644
--- a/include/config.h
+++ b/include/config.h
@@ -2043,6 +2043,13 @@
* actually reflecting the new state.
*/
#undef CONFIG_POWER_TRACK_HOST_SLEEP_STATE
+
+/*
+ * Implement the '%li' printf format as a *32-bit* integer format,
+ * as it might be expected by non-EC code.
+ */
+#undef CONFIG_PRINTF_LEGACY_LI_FORMAT
+
/*****************************************************************************/
/* Support PWM control */
#undef CONFIG_PWM