[PATCH v2 11/14] cmd: allow to enable CMD_NAND for SPI NAND devices

Alexey Romanov avromanov at salutedevices.com
Tue Jan 9 18:32:23 CET 2024


Boards with SPI NAND also can use this command.

Signed-off-by: Alexey Romanov <avromanov at salutedevices.com>
Reviewed-by: Sean Anderson <sean.anderson at seco.com>
---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 26aeeeed03..4332894184 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1381,7 +1381,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.
 
-- 
2.30.1



More information about the U-Boot mailing list