* [PATCH v2] mmc: Hide mmc speed command under mmc command
@ 2024-09-02 13:37 Marek Vasut
2024-09-02 13:41 ` Quentin Schulz
2024-09-17 23:48 ` Tom Rini
0 siblings, 2 replies; 5+ messages in thread
From: Marek Vasut @ 2024-09-02 13:37 UTC (permalink / raw)
To: u-boot
Cc: Marek Vasut, AKASHI Takahiro, Francis Laniel, Heinrich Schuchardt,
Mattijs Korpershoek, Michal Simek, Quentin Schulz, Simon Glass,
Tom Rini
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>
---
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: Quentin Schulz <quentin.schulz@cherry.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
---
V2: Rework the commit message
---
cmd/Kconfig | 19 +++++++++----------
1 file 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
--
2.45.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2] mmc: Hide mmc speed command under mmc command
2024-09-02 13:37 [PATCH v2] mmc: Hide mmc speed command under mmc command Marek Vasut
@ 2024-09-02 13:41 ` Quentin Schulz
2024-09-03 7:42 ` Mattijs Korpershoek
2024-09-17 23:48 ` Tom Rini
1 sibling, 1 reply; 5+ messages in thread
From: Quentin Schulz @ 2024-09-02 13:41 UTC (permalink / raw)
To: Marek Vasut, u-boot
Cc: AKASHI Takahiro, Francis Laniel, Heinrich Schuchardt,
Mattijs Korpershoek, Michal Simek, Simon Glass, Tom Rini
Hi Marek,
On 9/2/24 3:37 PM, Marek Vasut wrote:
> 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>
> ---
> 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: Quentin Schulz <quentin.schulz@cherry.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: u-boot@lists.denx.de
> ---
> V2: Rework the commit message
Better, thanks :)
> ---
> cmd/Kconfig | 19 +++++++++----------
> 1 file 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
I'm wondering if we should prefix this with CMD_ maybe? It's used in
drivers/mmc/ though.
Anyway, not a blocker for this.
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(You forgot Mattijs's Rb from v1 BTW)
Thanks!
Quentin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] mmc: Hide mmc speed command under mmc command
2024-09-02 13:41 ` Quentin Schulz
@ 2024-09-03 7:42 ` Mattijs Korpershoek
2024-09-03 18:04 ` Marek Vasut
0 siblings, 1 reply; 5+ messages in thread
From: Mattijs Korpershoek @ 2024-09-03 7:42 UTC (permalink / raw)
To: Quentin Schulz, Marek Vasut, u-boot
Cc: AKASHI Takahiro, Francis Laniel, Heinrich Schuchardt,
Michal Simek, Simon Glass, Tom Rini
On lun., sept. 02, 2024 at 15:41, Quentin Schulz <quentin.schulz@cherry.de> wrote:
> Hi Marek,
>
> On 9/2/24 3:37 PM, Marek Vasut wrote:
>> 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>
>> ---
>> 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: Quentin Schulz <quentin.schulz@cherry.de>
>> Cc: Simon Glass <sjg@chromium.org>
>> Cc: Tom Rini <trini@konsulko.com>
>> Cc: u-boot@lists.denx.de
>> ---
>> V2: Rework the commit message
>
> Better, thanks :)
>
>> ---
>> cmd/Kconfig | 19 +++++++++----------
>> 1 file 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
>
> I'm wondering if we should prefix this with CMD_ maybe? It's used in
> drivers/mmc/ though.
>
> Anyway, not a blocker for this.
>
> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
>
> (You forgot Mattijs's Rb from v1 BTW)
Giving it again, thank you for noticing :)
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
>
> Thanks!
> Quentin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] mmc: Hide mmc speed command under mmc command
2024-09-03 7:42 ` Mattijs Korpershoek
@ 2024-09-03 18:04 ` Marek Vasut
0 siblings, 0 replies; 5+ messages in thread
From: Marek Vasut @ 2024-09-03 18:04 UTC (permalink / raw)
To: Mattijs Korpershoek, Quentin Schulz, Marek Vasut, u-boot
Cc: AKASHI Takahiro, Francis Laniel, Heinrich Schuchardt,
Michal Simek, Simon Glass, Tom Rini
On 9/3/24 9:42 AM, Mattijs Korpershoek wrote:
> On lun., sept. 02, 2024 at 15:41, Quentin Schulz <quentin.schulz@cherry.de> wrote:
>
>> Hi Marek,
>>
>> On 9/2/24 3:37 PM, Marek Vasut wrote:
>>> 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>
>>> ---
>>> 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: Quentin Schulz <quentin.schulz@cherry.de>
>>> Cc: Simon Glass <sjg@chromium.org>
>>> Cc: Tom Rini <trini@konsulko.com>
>>> Cc: u-boot@lists.denx.de
>>> ---
>>> V2: Rework the commit message
>>
>> Better, thanks :)
>>
>>> ---
>>> cmd/Kconfig | 19 +++++++++----------
>>> 1 file 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
>>
>> I'm wondering if we should prefix this with CMD_ maybe? It's used in
>> drivers/mmc/ though.
>>
>> Anyway, not a blocker for this.
>>
>> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
>>
>> (You forgot Mattijs's Rb from v1 BTW)
>
> Giving it again, thank you for noticing :)
>
> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Thank you both.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] mmc: Hide mmc speed command under mmc command
2024-09-02 13:37 [PATCH v2] mmc: Hide mmc speed command under mmc command Marek Vasut
2024-09-02 13:41 ` Quentin Schulz
@ 2024-09-17 23:48 ` Tom Rini
1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2024-09-17 23:48 UTC (permalink / raw)
To: u-boot, Marek Vasut
Cc: AKASHI Takahiro, Francis Laniel, Heinrich Schuchardt,
Mattijs Korpershoek, Michal Simek, Quentin Schulz, Simon Glass
On Mon, 02 Sep 2024 15:37:09 +0200, Marek Vasut wrote:
> 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.
>
>
Applied to u-boot/next, thanks!
--
Tom
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-09-17 23:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 13:37 [PATCH v2] mmc: Hide mmc speed command under mmc command Marek Vasut
2024-09-02 13:41 ` Quentin Schulz
2024-09-03 7:42 ` Mattijs Korpershoek
2024-09-03 18:04 ` Marek Vasut
2024-09-17 23:48 ` Tom Rini
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.