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 /driver | |
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 'driver')
-rw-r--r-- | driver/battery/smart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/battery/smart.c b/driver/battery/smart.c index 66774e15a9..6f884a55b3 100644 --- a/driver/battery/smart.c +++ b/driver/battery/smart.c @@ -374,7 +374,7 @@ int battery_wait_for_stable(void) return EC_ERROR_NOT_POWERED; } -#ifndef CONFIG_CHARGER_V1 +#if !defined(CONFIG_CHARGER_V1) && defined(CONFIG_CMD_BATTFAKE) static int command_battfake(int argc, char **argv) { char *e; |