summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-10 13:46:09 -0500
committerTom Rini <trini@konsulko.com>2024-01-22 14:17:35 -0500
commitcda3f81b06f5cbc6e96a1a4f1e70884fa41ef5a7 (patch)
tree2111647a725a807f2a2ba5a8d5d02ea2e8233fdd
parent9913a8212888034dea8a432a9977d2c930900e1f (diff)
cmd/flash: Make this default y for CFI and NOR only
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>
-rw-r--r--cmd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 5c0a7ab50c3..58ab357c707 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1085,7 +1085,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