diff options
author | Kyoung Kim <kyoung.il.kim@intel.com> | 2016-04-07 17:15:16 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-14 17:28:17 -0700 |
commit | e6902404a2cea8e8c2f6f9839f41c5434264b59d (patch) | |
tree | 8b88061680b15deb48d400afcdac0b68e2560621 /common/throttle_ap.c | |
parent | e07d460d549df5698fe983a0735da342f4f5a194 (diff) | |
download | chrome-ec-e6902404a2cea8e8c2f6f9839f41c5434264b59d.tar.gz |
Kunimitsu: remove console commands for code size
Remove following EC console commands to reduce code size:
- battfake
- apthrottle
And none of commands above are used in 'auto test'.
This is a squash of
- https://chromium-review.googlesource.com/337657
- https://chromium-review.googlesource.com/338018
BUG=none
BRANCH=firmware-glados-7820.B
TEST=make -j buildall
Change-Id: I11d2c5514f2714f0a46416feec2b2c47666fb462
Signed-off-by: Kyoung Kim <kyoung.il.kim@intel.com>
Signed-off-by: Kevin K Wong <kevin.k.wong@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/338893
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'common/throttle_ap.c')
-rw-r--r-- | common/throttle_ap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/throttle_ap.c b/common/throttle_ap.c index d794970267..c9d1029c65 100644 --- a/common/throttle_ap.c +++ b/common/throttle_ap.c @@ -72,7 +72,7 @@ void throttle_ap(enum throttle_level level, /*****************************************************************************/ /* Console commands */ - +#ifdef CONFIG_CMD_APTHROTTLE static int command_apthrottle(int argc, char **argv) { int i; @@ -93,4 +93,4 @@ DECLARE_CONSOLE_COMMAND(apthrottle, command_apthrottle, NULL, "Display the AP throttling state", NULL); - +#endif |