diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2024-09-02 15:37:09 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-09-16 16:44:15 -0600 |
commit | 39aa94a5c372f9daaae3f4eb11c26cf900de2094 (patch) | |
tree | 2b3f97b530342b21585d80b71b80a6fcc4803685 | |
parent | 773f138632b95ea6b0c4a7a2b653174c19749da5 (diff) |
mmc: Hide mmc speed command under mmc command
The mmc speed command configuration option keeps showing up in
Kconfig directly in 'Command line interface'. Move MMC_SPEED_MODE_SET
under CMD_MMC to make it show up alongside the MMC command.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
-rw-r--r-- | cmd/Kconfig | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 43f78a5aeb1..953e1f0ef2a 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1406,6 +1406,15 @@ config CMD_MMC_SWRITE Enable support for the "mmc swrite" command to write Android sparse images to eMMC. +config MMC_SPEED_MODE_SET + bool "set speed mode using mmc command" + help + Enable setting speed mode using mmc rescan and mmc dev commands. + The speed mode is provided as the last argument in these commands + and is indicated using the index from enum bus_mode in + include/mmc.h. A speed mode can be set only if it has already + been enabled in the device tree. + endif config CMD_CLONE @@ -2971,16 +2980,6 @@ config CMD_UBIFS help UBIFS is a file system for flash devices which works on top of UBI. -config MMC_SPEED_MODE_SET - bool "set speed mode using mmc command" - depends on CMD_MMC - help - Enable setting speed mode using mmc rescan and mmc dev commands. - The speed mode is provided as the last argument in these commands - and is indicated using the index from enum bus_mode in - include/mmc.h. A speed mode can be set only if it has already - been enabled in the device tree. - config CMD_MESON bool "Amlogic Meson commands" depends on ARCH_MESON |