All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cmd: mvebu: Hide bubt specific options when bubt is disabled
@ 2022-05-03  9:13 Pali Rohár
  2022-05-04  4:45 ` Stefan Roese
  2022-05-17  7:51 ` Stefan Roese
  0 siblings, 2 replies; 3+ messages in thread
From: Pali Rohár @ 2022-05-03  9:13 UTC (permalink / raw)
  To: Stefan Roese; +Cc: u-boot

CONFIG_MVEBU_NAND_BOOT, CONFIG_MVEBU_SPI_BOOT, CONFIG_MVEBU_MMC_BOOT and
CONFIG_MVEBU_UBOOT_DFLT_NAME are unused when CONFIG_CMD_MVEBU_BUBT is not
enabled. So hide them.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 cmd/mvebu/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu/Kconfig
index ac8b0afd20e5..39963db82c98 100644
--- a/cmd/mvebu/Kconfig
+++ b/cmd/mvebu/Kconfig
@@ -9,6 +9,8 @@ config CMD_MVEBU_BUBT
 	  For details about bubt command please see the documentation
 	  in doc/mvebu/cmd/bubt.txt
 
+if CMD_MVEBU_BUBT
+
 choice
 	prompt "Flash for image"
 	default MVEBU_SPI_BOOT
@@ -49,6 +51,8 @@ config MVEBU_UBOOT_DFLT_NAME
 	  This option should contain a default file name to be used with
 	  MVEBU "bubt" command if the source file name is omitted
 
+endif
+
 config CMD_MVEBU_COMPHY_RX_TRAINING
 	bool "mvebu_comphy_rx_training"
 	depends on ARMADA_8K
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] cmd: mvebu: Hide bubt specific options when bubt is disabled
  2022-05-03  9:13 [PATCH] cmd: mvebu: Hide bubt specific options when bubt is disabled Pali Rohár
@ 2022-05-04  4:45 ` Stefan Roese
  2022-05-17  7:51 ` Stefan Roese
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2022-05-04  4:45 UTC (permalink / raw)
  To: Pali Rohár; +Cc: u-boot

On 03.05.22 11:13, Pali Rohár wrote:
> CONFIG_MVEBU_NAND_BOOT, CONFIG_MVEBU_SPI_BOOT, CONFIG_MVEBU_MMC_BOOT and
> CONFIG_MVEBU_UBOOT_DFLT_NAME are unused when CONFIG_CMD_MVEBU_BUBT is not
> enabled. So hide them.
> 
> Signed-off-by: Pali Rohár <pali@kernel.org>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
>   cmd/mvebu/Kconfig | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu/Kconfig
> index ac8b0afd20e5..39963db82c98 100644
> --- a/cmd/mvebu/Kconfig
> +++ b/cmd/mvebu/Kconfig
> @@ -9,6 +9,8 @@ config CMD_MVEBU_BUBT
>   	  For details about bubt command please see the documentation
>   	  in doc/mvebu/cmd/bubt.txt
>   
> +if CMD_MVEBU_BUBT
> +
>   choice
>   	prompt "Flash for image"
>   	default MVEBU_SPI_BOOT
> @@ -49,6 +51,8 @@ config MVEBU_UBOOT_DFLT_NAME
>   	  This option should contain a default file name to be used with
>   	  MVEBU "bubt" command if the source file name is omitted
>   
> +endif
> +
>   config CMD_MVEBU_COMPHY_RX_TRAINING
>   	bool "mvebu_comphy_rx_training"
>   	depends on ARMADA_8K

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] cmd: mvebu: Hide bubt specific options when bubt is disabled
  2022-05-03  9:13 [PATCH] cmd: mvebu: Hide bubt specific options when bubt is disabled Pali Rohár
  2022-05-04  4:45 ` Stefan Roese
@ 2022-05-17  7:51 ` Stefan Roese
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2022-05-17  7:51 UTC (permalink / raw)
  To: Pali Rohár; +Cc: u-boot

On 03.05.22 11:13, Pali Rohár wrote:
> CONFIG_MVEBU_NAND_BOOT, CONFIG_MVEBU_SPI_BOOT, CONFIG_MVEBU_MMC_BOOT and
> CONFIG_MVEBU_UBOOT_DFLT_NAME are unused when CONFIG_CMD_MVEBU_BUBT is not
> enabled. So hide them.
> 
> Signed-off-by: Pali Rohár <pali@kernel.org>

Applied to u-boot-marvell/master

Thanks,
Stefan

> ---
>   cmd/mvebu/Kconfig | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu/Kconfig
> index ac8b0afd20e5..39963db82c98 100644
> --- a/cmd/mvebu/Kconfig
> +++ b/cmd/mvebu/Kconfig
> @@ -9,6 +9,8 @@ config CMD_MVEBU_BUBT
>   	  For details about bubt command please see the documentation
>   	  in doc/mvebu/cmd/bubt.txt
>   
> +if CMD_MVEBU_BUBT
> +
>   choice
>   	prompt "Flash for image"
>   	default MVEBU_SPI_BOOT
> @@ -49,6 +51,8 @@ config MVEBU_UBOOT_DFLT_NAME
>   	  This option should contain a default file name to be used with
>   	  MVEBU "bubt" command if the source file name is omitted
>   
> +endif
> +
>   config CMD_MVEBU_COMPHY_RX_TRAINING
>   	bool "mvebu_comphy_rx_training"
>   	depends on ARMADA_8K

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-17  7:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-03  9:13 [PATCH] cmd: mvebu: Hide bubt specific options when bubt is disabled Pali Rohár
2022-05-04  4:45 ` Stefan Roese
2022-05-17  7:51 ` Stefan Roese

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.