diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2017-11-09 11:17:16 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-11-09 19:16:33 -0800 |
commit | dedd0ab913cf779791695e75b34771f9d273e325 (patch) | |
tree | f2f5cfaaccd12f982aeecae8fb48a3170b8a7699 /common/flash.c | |
parent | 7b4cda85a4dd1d8e5ebf9d7ebf0338e955e4f54e (diff) | |
download | chrome-ec-dedd0ab913cf779791695e75b34771f9d273e325.tar.gz |
gru: Remove `flashinfo` command for RAM savings
BUG=None
TEST=`make buildall -j`
BRANCH=None
Change-Id: Ibfbb6875327dfc13dcba57933d39fd207f382ac1
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/761299
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'common/flash.c')
-rw-r--r-- | common/flash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/flash.c b/common/flash.c index 4dcb83ca40..d463aee244 100644 --- a/common/flash.c +++ b/common/flash.c @@ -787,6 +787,7 @@ DECLARE_DEFERRED(flash_erase_deferred); /*****************************************************************************/ /* Console commands */ +#ifdef CONFIG_CMD_FLASHINFO static int command_flash_info(int argc, char **argv) { int i, flags; @@ -855,6 +856,7 @@ static int command_flash_info(int argc, char **argv) DECLARE_SAFE_CONSOLE_COMMAND(flashinfo, command_flash_info, NULL, "Print flash info"); +#endif /* CONFIG_CMD_FLASHINFO */ #ifdef CONFIG_CMD_FLASH static int command_flash_erase(int argc, char **argv) |