diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-10-29 13:27:36 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-10-30 10:45:08 -0700 |
commit | 927792beae9819c3409813d39451823f40b44e33 (patch) | |
tree | ab9af77ffa9dedafb82447f85255fa881bdab8c7 | |
parent | fdd3d90bd78fd753356d8aa3373e066141851a35 (diff) | |
download | chrome-ec-927792beae9819c3409813d39451823f40b44e33.tar.gz |
Disable scratchpad command
We don't use/need it right now, so reduce code size.
BUG=chrome-os-partner:15579
BRANCH=none
TEST=help; should not see scratchpad in list
Change-Id: I7918882eee02d8c440c58a3ac6cba80acc3d2ac1
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/36803
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | common/system_common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/system_common.c b/common/system_common.c index 5fdb6a23dd..8434d5faec 100644 --- a/common/system_common.c +++ b/common/system_common.c @@ -594,8 +594,7 @@ DECLARE_CONSOLE_COMMAND(sysinfo, command_sysinfo, "Print system info", NULL); -#define CONFIG_CONSOLE_CMD_SCRATCHPAD -#ifdef CONFIG_CONSOLE_CMD_SCRATCHPAD +#ifdef CONFIG_CMD_SCRATCHPAD static int command_scratchpad(int argc, char **argv) { int rv = EC_SUCCESS; @@ -615,7 +614,7 @@ DECLARE_CONSOLE_COMMAND(scratchpad, command_scratchpad, "[val]", "Get or set scratchpad value", NULL); -#endif /* CONFIG_CONSOLE_CMD_SCRATCHPAD */ +#endif /* CONFIG_CMD_SCRATCHPAD */ static int command_hibernate(int argc, char **argv) { |