diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-11-09 16:56:09 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-18 04:50:50 +0000 |
commit | 6d50393656f34ab9ca22fdaedfa9c9c93ed16d61 (patch) | |
tree | 2cecb44f9f7c9fce0a641c0d80ae1d5a5626f504 | |
parent | 543a18ecf75480886e15a7be48e57c9271ab5333 (diff) | |
download | chrome-ec-6d50393656f34ab9ca22fdaedfa9c9c93ed16d61.tar.gz |
Revert "timer: Allow disabling gettime console command"
This reverts commit db24bed78d6274def74f0a764a29a9ea1e2feb71.
BUG=b:200823466
TEST=make buildall -j
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Change-Id: I964cc91b08bfe5b909ba3a7e4410bf851dfc3e04
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273424
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r-- | common/timer.c | 2 | ||||
-rw-r--r-- | include/config.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/common/timer.c b/common/timer.c index 5c0a784ddd..cadebead7c 100644 --- a/common/timer.c +++ b/common/timer.c @@ -319,7 +319,6 @@ DECLARE_CONSOLE_COMMAND(forcetime, command_force_time, "Force current time"); #endif -#ifdef CONFIG_CMD_GETTIME static int command_get_time(int argc, char **argv) { timestamp_t ts = get_time(); @@ -330,7 +329,6 @@ static int command_get_time(int argc, char **argv) DECLARE_SAFE_CONSOLE_COMMAND(gettime, command_get_time, NULL, "Print current time"); -#endif #ifdef CONFIG_CMD_TIMERINFO int command_timer_info(int argc, char **argv) diff --git a/include/config.h b/include/config.h index 737c954bcf..c54b381dcb 100644 --- a/include/config.h +++ b/include/config.h @@ -1107,7 +1107,6 @@ #undef CONFIG_CMD_FLASH_LOG #undef CONFIG_CMD_FLASH_TRISTATE #undef CONFIG_CMD_FORCETIME -#define CONFIG_CMD_GETTIME #undef CONFIG_CMD_GPIO_EXTENDED #define CONFIG_CMD_GPIOCFG #undef CONFIG_CMD_GSV |