Commit d91a9d7fb3910dcbb913bfe183c5268f0e5f928b
Committed by
Tom Rini
1 parent
51f2937036
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
Convert CONFIG_CMD_GETTIME to Kconfig
This converts the following to Kconfig: CONFIG_CMD_GETTIME Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Showing 6 changed files with 9 additions and 4 deletions Side-by-side Diff
README
... | ... | @@ -844,7 +844,6 @@ |
844 | 844 | CONFIG_CMD_FAT * FAT command support |
845 | 845 | CONFIG_CMD_FLASH flinfo, erase, protect |
846 | 846 | CONFIG_CMD_FPGA FPGA device initialization support |
847 | - CONFIG_CMD_GETTIME * Get time since boot | |
848 | 847 | CONFIG_CMD_GO * the 'go' command (exec code) |
849 | 848 | CONFIG_CMD_GREPENV * search environment |
850 | 849 | CONFIG_CMD_HASH * calculate hash / digest |
arch/Kconfig
cmd/Kconfig
... | ... | @@ -846,6 +846,14 @@ |
846 | 846 | help |
847 | 847 | Run commands and summarize execution time. |
848 | 848 | |
849 | +config CMD_GETTIME | |
850 | + bool "gettime - read elapsed time" | |
851 | + help | |
852 | + Enable the 'gettime' command which reads the elapsed time since | |
853 | + U-Boot started running. This shows the time in seconds and | |
854 | + milliseconds. See also the 'bootstage' command which provides more | |
855 | + flexibility for boot timing. | |
856 | + | |
849 | 857 | # TODO: rename to CMD_SLEEP |
850 | 858 | config CMD_MISC |
851 | 859 | bool "sleep" |
include/config_cmd_all.h
... | ... | @@ -13,7 +13,6 @@ |
13 | 13 | * Alphabetical list of all possible commands. |
14 | 14 | */ |
15 | 15 | |
16 | -#define CONFIG_CMD_GETTIME /* Get time since boot */ | |
17 | 16 | #define CONFIG_CMD_HASH /* calculate hash / digest */ |
18 | 17 | #define CONFIG_CMD_IDE /* IDE harddisk support */ |
19 | 18 | #define CONFIG_CMD_IMMAP /* IMMR dump support */ |
include/configs/x86-common.h