summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Yung-Chieh Lo <yjlou@chromium.org>2014-05-19 13:59:14 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-05-20 07:34:54 +0000
commit9e2fac8390051c9bc4166963a4da46e81ed3864b (patch)
tree52e3c9557e027f4d7fae204ad36fe6ab74c089ed
parentb287e7b3441227e384c7a9fd4e438480a515541b (diff)
downloadchrome-ec-9e2fac8390051c9bc4166963a4da46e81ed3864b.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 Change-Id: I856e89def6456607ade610134bf318d8522f5e4d 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>
-rw-r--r--board/big/board.h1
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__