diff options
author | Bill Richardson <wfrichar@chromium.org> | 2016-09-30 12:23:53 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-10-01 00:02:01 -0700 |
commit | 0a4bb34bcdde39f1cd21dd555d7284a8b1ce9cca (patch) | |
tree | d5810ab7598d0df4d5f372eb87d09be352b12c94 /common/timer.c | |
parent | f715b8b86531b8984fe0fd48265ff85f3a5e9cf2 (diff) | |
download | chrome-ec-0a4bb34bcdde39f1cd21dd555d7284a8b1ce9cca.tar.gz |
Add more CONFIG_CMD_* options for console commands
We have a large number of config.h options to enable/disable
specific console commands. This adds a few more that we will want
to control.
BUG=chrome-os-partner:57408
BRANCH=none
TEST=make buildall; try on Gru with and without CR50_DEV=1
Change-Id: Id41f0e9f44fc77feaf56853f357a6b33bb685b0c
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/391614
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common/timer.c')
-rw-r--r-- | common/timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/timer.c b/common/timer.c index 0daf501b9c..bda3e9c197 100644 --- a/common/timer.c +++ b/common/timer.c @@ -252,6 +252,7 @@ static void timer_sysjump(void) } DECLARE_HOOK(HOOK_SYSJUMP, timer_sysjump, HOOK_PRIO_DEFAULT); +#ifdef CONFIG_CMD_WAITMS static int command_wait(int argc, char **argv) { char *e; @@ -271,6 +272,7 @@ static int command_wait(int argc, char **argv) DECLARE_CONSOLE_COMMAND(waitms, command_wait, "msec", "Busy-wait for msec"); +#endif #ifdef CONFIG_CMD_FORCETIME static int command_force_time(int argc, char **argv) |