diff mbox series

[4/5] cmd/flash: Make this default y for CFI and NOR only

Message ID 20240110184610.3909763-4-trini@konsulko.com
State Accepted
Commit cda3f81b06f5cbc6e96a1a4f1e70884fa41ef5a7
Delegated to: Tom Rini
Headers show
Series [1/5] omap3: Make SPL_OMAP3_ID_NAND depend on NAND_OMAP_GPMC | expand

Commit Message

Tom Rini Jan. 10, 2024, 6:46 p.m. UTC
This command is only useful on CFI and NOR type flashes and not others.
Update the dependency so that it's not enabled by default in other
cases. This will lead to a number of platforms no longer building this
command, where it was not useful.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index d837b0990484..944a03336efc 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1080,7 +1080,7 @@  config CMD_FASTBOOT
 config CMD_FLASH
 	bool "flinfo, erase, protect"
 	default y
-	depends on MTD || FLASH_CFI_DRIVER || MTD_NOR_FLASH
+	depends on FLASH_CFI_DRIVER || MTD_NOR_FLASH
 	help
 	  NOR flash support.
 	    flinfo - print FLASH memory information