summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorBin Meng <bin.meng@windriver.com>2020-10-13 18:45:05 +0800
committerTom Rini <trini@konsulko.com>2020-10-23 13:33:07 -0400
commit16060854095036d5becc2c850641955a47d327d1 (patch)
treec2d9a58465dc44157fa96054638ce03b6efaf471 /cmd
parentae897022d7bdf1466584f54655efe89e2f67ca82 (diff)
cmd: Rename CMD_MISC to CMD_SLEEP
The "cmd/Kconfig" has a TODO description for CMD_MISC that it should really be named as CMD_SLEEP. Change it in the whole source tree. Signed-off-by: Bin Meng <bin.meng@windriver.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig3
-rw-r--r--cmd/Makefile2
-rw-r--r--cmd/sleep.c (renamed from cmd/misc.c)3
3 files changed, 2 insertions, 6 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index a3166e4f31..cc7e93190f 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1708,8 +1708,7 @@ config CMD_RNG
help
Print bytes from the hardware random number generator.
-# TODO: rename to CMD_SLEEP
-config CMD_MISC
+config CMD_SLEEP
bool "sleep"
default y
help
diff --git a/cmd/Makefile b/cmd/Makefile
index 19a891633f..70fe52b023 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -95,7 +95,7 @@ obj-$(CONFIG_CMD_IO) += io.o
obj-$(CONFIG_CMD_MFSL) += mfsl.o
obj-$(CONFIG_CMD_MII) += mii.o
obj-$(CONFIG_CMD_MDIO) += mdio.o
-obj-$(CONFIG_CMD_MISC) += misc.o
+obj-$(CONFIG_CMD_SLEEP) += sleep.o
obj-$(CONFIG_CMD_MMC) += mmc.o
obj-$(CONFIG_MP) += mp.o
obj-$(CONFIG_CMD_MTD) += mtd.o
diff --git a/cmd/misc.c b/cmd/sleep.c
index 20ab943494..86986f0993 100644
--- a/cmd/misc.c
+++ b/cmd/sleep.c
@@ -4,9 +4,6 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
-/*
- * Misc functions
- */
#include <common.h>
#include <command.h>
#include <console.h>