From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Marek Vasut <marek.vasut+renesas@mailbox.org>, u-boot@lists.denx.de
Cc: Marek Vasut <marek.vasut+renesas@mailbox.org>,
AKASHI Takahiro <akashi.tkhro@gmail.com>,
Francis Laniel <francis.laniel@amarulasolutions.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Michal Simek <michal.simek@amd.com>,
Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH] mmc: Hide mmc speed command under mmc command
Date: Thu, 29 Aug 2024 10:59:27 +0200 [thread overview]
Message-ID: <87o75br9g0.fsf@baylibre.com> (raw)
In-Reply-To: <20240829012210.179436-1-marek.vasut+renesas@mailbox.org>
Hi Marek,
Thank you for the patch.
On jeu., août 29, 2024 at 03:22, Marek Vasut <marek.vasut+renesas@mailbox.org> wrote:
> The mmc speed command configuration option keeps showing up in
> Kconfig even if CMD_MMC is not set. Move MMC_SPEED_MODE_SET under
> CMD_MMC to show up the Kconfig option only if MMC command is enabled.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
> ---
> Cc: AKASHI Takahiro <akashi.tkhro@gmail.com>
> Cc: Francis Laniel <francis.laniel@amarulasolutions.com>
> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Cc: Mattijs Korpershoek <mkorpershoek@baylibre.com>
> Cc: Michal Simek <michal.simek@amd.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: u-boot@lists.denx.de
> ---
> cmd/Kconfig | 19 +++++++++----------
> 1 file changed, 9 insertions(+), 10 deletions(-)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 978f44eda42..efe2357d044 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1399,6 +1399,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
> @@ -2963,16 +2972,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
> --
> 2.45.2
next prev parent reply other threads:[~2024-08-29 8:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 1:22 [PATCH] mmc: Hide mmc speed command under mmc command Marek Vasut
2024-08-29 8:59 ` Mattijs Korpershoek [this message]
2024-09-02 8:48 ` Quentin Schulz
2024-09-02 13:38 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o75br9g0.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--cc=akashi.tkhro@gmail.com \
--cc=francis.laniel@amarulasolutions.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=michal.simek@amd.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.