diff options
author | Louis Yung-Chieh Lo <yjlou@chromium.org> | 2014-05-19 13:59:14 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-06-14 21:26:05 +0000 |
commit | 4a19a34cf3c8dbf0286b711f0bd09b20acf18719 (patch) | |
tree | 9d1f1a1e997d7a87fa3e28838c5353a0b55e3fbc | |
parent | bd4469ae4ffbbd6f2cd5549bdb8809838e55d6f7 (diff) | |
download | chrome-ec-4a19a34cf3c8dbf0286b711f0bd09b20acf18719.tar.gz |
nyan: don't compile in shorthelp of console commands
Since stm32l has smaller flash size, undef CONFIG_CONSOLE_CMDHELP to
remove short descripton to save 2560 byes.
If you need to read the description, grep that in the code.
BUG=chromium:374575
BRANCH=tot,nyan
TEST=buildall and
% grep hey build/big/ec.RO.map
0x000000000000ef48
After shrink -->
0x000000000000e548
Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/200472
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
(cherry picked from commit 9e2fac8390051c9bc4166963a4da46e81ed3864b)
Change-Id: Ied58699228225164b22d3e8423e36d148a34e7b6
Original-Change-Id: I12113d8ab43e5223dadb4c43ec30e56eca932e75
Reviewed-on: https://chromium-review.googlesource.com/203848
Reviewed-by: Yung-chieh Lo <yjlou@chromium.org>
Commit-Queue: Yung-chieh Lo <yjlou@chromium.org>
Tested-by: Yung-chieh Lo <yjlou@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
-rw-r--r-- | board/big/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/big/board.h b/board/big/board.h index 50376724d5..fefd31cd6f 100644 --- a/board/big/board.h +++ b/board/big/board.h @@ -27,6 +27,7 @@ #define CONFIG_VBOOT_HASH #define CONFIG_LED_COMMON #define CONFIG_CHARGER_DISCHARGE_ON_AC +#undef CONFIG_CONSOLE_CMDHELP #ifndef __ASSEMBLER__ |