diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2018-05-23 14:08:30 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-24 04:10:04 -0700 |
commit | 35e278bb41dc9f54e1317b0225c371b4c939eb12 (patch) | |
tree | c5607de91fb013ce317b3b762532c643c04fb41e /include | |
parent | 336be875915c5aa0ae285401c0f60d0c93a563ac (diff) | |
download | chrome-ec-35e278bb41dc9f54e1317b0225c371b4c939eb12.tar.gz |
console_output: Add option to disable console channels
On hammer, we do not need the console channels, so we can just
disable them to save flash size.
BRANCH=poppy
BUG=b:35647963
TEST=make newsizes, staff image size shrinks by 704 bytes
Change-Id: I7a493ae57573814b166d45e57f1ad3d885f26086
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1070949
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 1e0097332a..d06cbcf73c 100644 --- a/include/config.h +++ b/include/config.h @@ -945,6 +945,15 @@ /*****************************************************************************/ /* + * Make it possible for console to be output to different channels that can be + * turned on and off. + * + * Boards that do not require a typical FAFT flow may #undef this to reduce + * image size. + */ +#define CONFIG_CONSOLE_CHANNEL + +/* * Provide additional help on console commands, such as the supported * options/usage. * |