diff mbox series

[v1,09/12] cmd: allow to enable CMD_NAND for SPI NAND devices

Message ID 20231228153922.84323-10-avromanov@salutedevices.com
State Superseded
Delegated to: Dario Binacchi
Headers show
Series Support SPI NAND in fastboot protocol | expand

Commit Message

Alexey Romanov Dec. 28, 2023, 3:39 p.m. UTC
Boards with SPI NAND also can use this command.

Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sean Anderson Dec. 28, 2023, 4:55 p.m. UTC | #1
On 12/28/23 10:39, Alexey Romanov wrote:
> Boards with SPI NAND also can use this command.
> 
> Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
> ---
>  cmd/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index c47523a03b..c8484576e2 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1367,7 +1367,7 @@ config CMD_MUX
>  config CMD_NAND
>  	bool "nand"
>  	default y if NAND_SUNXI
> -	depends on MTD_RAW_NAND
> +	depends on MTD_RAW_NAND || MTD_SPI_NAND
>  	help
>  	  NAND support.
>  

Reviewed-by: Sean Anderson <sean.anderson@seco.com>
diff mbox series

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index c47523a03b..c8484576e2 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1367,7 +1367,7 @@  config CMD_MUX
 config CMD_NAND
 	bool "nand"
 	default y if NAND_SUNXI
-	depends on MTD_RAW_NAND
+	depends on MTD_RAW_NAND || MTD_SPI_NAND
 	help
 	  NAND support.